mirror of
https://github.com/Alvin-Zilverstand/school.git
synced 2026-09-12 09:54:37 +02:00
161 lines
2.4 KiB
CSS
161 lines
2.4 KiB
CSS
.container {
|
|
flex: 100%;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
.nav-pills .nav-link.blue {
|
|
color: #142982;
|
|
}
|
|
|
|
.nav-pills .nav-link.blue:hover {
|
|
color: #ABB4D6;
|
|
}
|
|
|
|
.slider-text {
|
|
color: #000000;
|
|
}
|
|
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 60px;
|
|
height: 34px;
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #ABB4D6;
|
|
-webkit-transition: .4s;
|
|
transition: .4s;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 26px;
|
|
width: 26px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
-webkit-transition: .4s;
|
|
transition: .4s;
|
|
}
|
|
|
|
input:checked + .slider {
|
|
background-color: #00F064;
|
|
}
|
|
|
|
input:focus + .slider {
|
|
box-shadow: 0 0 1px #ABB4D6;
|
|
}
|
|
|
|
input:checked + .slider:before {
|
|
-webkit-transform: translateX(26px);
|
|
-ms-transform: translateX(26px);
|
|
transform: translateX(26px);
|
|
}
|
|
|
|
/* Rounded sliders */
|
|
.slider.round {
|
|
border-radius: 34px;
|
|
}
|
|
|
|
.slider.round:before {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.home {
|
|
max-width: 700px;
|
|
margin: 0 auto;
|
|
padding: 3rem 2rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.home p {
|
|
font-size: 16px;
|
|
line-height: 1.8;
|
|
color: #1B2B6B;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.home p:first-child {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: #1B2B6B;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.home p:last-child {
|
|
margin-bottom: 0;
|
|
font-size: 15px;
|
|
color: #4a5568;
|
|
}
|
|
|
|
.about-page p {
|
|
color: #0f172a;
|
|
}
|
|
|
|
.about-page p:first-child {
|
|
color: #09142f;
|
|
}
|
|
|
|
.about-page p:last-child {
|
|
color: #1e293b;
|
|
}
|
|
|
|
hr.thin-line {
|
|
border: none;
|
|
border-top: 1px solid #dcdcdc;
|
|
margin: 0.5rem auto;
|
|
max-width: 600px;
|
|
}
|
|
|
|
/* Page roll-up banners (fixed at left and right side of viewport) */
|
|
.page-banner-left,
|
|
.page-banner-right {
|
|
position: fixed;
|
|
top: 120px; /* sits below the header area */
|
|
width: 140px;
|
|
height: auto;
|
|
min-height: 420px;
|
|
z-index: 1000;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.page-banner-left { left: 8px; }
|
|
.page-banner-right { right: 8px; }
|
|
|
|
.page-banner-left object,
|
|
.page-banner-right object,
|
|
.page-banner-left img,
|
|
.page-banner-right img,
|
|
.page-banner-left canvas,
|
|
.page-banner-right canvas {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
border: none;
|
|
}
|
|
|
|
/* Hide banners on small screens */
|
|
@media (max-width: 1024px) {
|
|
.page-banner-left,
|
|
.page-banner-right { display: none; }
|
|
} |