first commit

This commit is contained in:
wisski 2024-04-30 14:55:40 +02:00
commit d64c692c83
33 changed files with 37074 additions and 0 deletions

View file

@ -0,0 +1,4 @@
// Bootstrap variables (overrides).
$form-text-margin-top: 0;
$legend-font-size: 1rem;
$table-cell-padding-x: .75rem;

View file

@ -0,0 +1,23 @@
// Theme variables.
$navbar-brand-image-height: 36px !default;
$navbar-brand-image-height-lg: 60px !default;
$navbar-brand-image-width: auto !default;
$navbar-brand-image-margin: 0 1rem 0 0 !default;
$navbar-brand-site-title-text-transform: uppercase !default;
$navbar-brand-site-title-font-size: 1.5rem !default;
$navbar-brand-site-title-font-weight: bold !default;
$navbar-brand-site-title-letter-spacing: 2px !default;
$navbar-brand-site-slogan-font-size: .875rem !default;
$region-padding: 0 .5rem !default;
$footer-padding: 2rem 0 !default;
$nav-tabs-link-active-bg-sm: #dee2e6 !default;
$local-tasks-primary-margin: 1rem 0 !default;
$local-tasks-secondary-margin: 0 0 1rem 0 !default;
$table-striped-bg: #f9f9f9 !default;

3
scss/ck5style.scss Normal file
View file

@ -0,0 +1,3 @@
.ck-content {
@import './style.scss';
}

83
scss/custom_styles.scss Normal file
View file

@ -0,0 +1,83 @@
.wisski-cloud-theme--front .wisski-cloud-theme--front-block--row:nth-child(odd) .wisski-cloud--field__pic_blo__ima {
order: 1;
}
.wisski-cloud-theme--front .wisski-cloud-theme--front-block--row:nth-child(odd) .wisski-cloud--field__pic_blo_bod {
order: 2;
}
.wisski-cloud-theme--front .wisski-cloud-theme--front-block--row:nth-child(even) .wisski-cloud--field__pic_blo__ima {
order: 2;
}
.wisski-cloud-theme--front .wisski-cloud-theme--front-block--row:nth-child(even) .wisski-cloud--field__pic_blo_bod {
order: 1;
}
.wisski-cloud--field__pic_blo__ima img {
display: block;
margin: auto;
border-radius: 50%;
object-fit: cover; // This will ensure the image covers the full width/height of the container
}
#block-wisski-cloud-theme-testinstancewarning {
background-color: #ffffcc;
border: 1px solid #ffcc00;
padding: 15px;
margin-bottom: 20px;
}
body {
position: relative;
}
body::before {
content: "";
position: absolute;
width: 0;
height: 0;
bottom: 0;
right: 0;
border-left: 40vw solid transparent;
border-bottom: 40vh solid #FFD1A1;
/* Change this to your preferred color */
z-index: -1;
transition: all 0.1s ease-in-out;
}
body::after {
content: "";
position: absolute;
width: 0;
height: 0;
border-right: 40vw solid transparent;
border-top: 40vh solid #FFD1A1;
/* Pastel orange */
top: 0;
left: 0;
z-index: -1;
transition: all 0.1s ease-in-out;
}
.field-content p a, .breadcrumb > li > a, div.field p a, div.description a {
color: #00008B ;
font-weight: bold;
}
.table > * > * > * {
background-color: unset !important ;
}
.btn-primary {
background-color: #FFD1A1 !important;
border-color: #FFD1A1 !important;
color: black !important;
}
.dropdown-item:hover,
.dropdown-item:focus
{
background-color: #FFD1A1;
}

11
scss/style.scss Normal file
View file

@ -0,0 +1,11 @@
// Sub theme styling.
@import 'variables_drupal';
// Bootstrap overriden variables.
// @see https://getbootstrap.com/docs/5.2/customize/sass/#variable-defaults.
@import 'variables_bootstrap';
@import 'custom_styles';
// Include bootstrap.
@import '../../../../themes/contrib/bootstrap5/scss/style';