Files
old-saburly-wagtail-web/static/css/style.css
2024-09-15 04:36:27 +02:00

261 lines
3.8 KiB
CSS

header {
position: fixed;
width: 100%;
transition: top 0.3s ease-in-out;
background-color: #5763AB;
width: 100%;
z-index: 9999;
}
.saburly-menu {
z-index: 9999;
margin-left: 10%;
margin-right: 10%;
}
.side-menu {
position: fixed;
right: 0;
top: 0;
width: 256px;
min-height: 100vh;
overflow: hidden;
background-color: #5763ab;
z-index: 9999;
display: none;
transition: transform 0.5s ease-out;
}
.slideout-open .side-menu {
transform: translateX(0);
}
.side-menu .social-icons {
position: absolute;
bottom: 0;
left: 0;
z-index: 10001;
}
.menu_icon [class*='menu_bar-'] {
background: #ffffff;
transform: rotate(0deg);
transition: 0.2s ease all;
height: 0.18rem;
display: block;
margin-bottom: 0.3rem;
}
.menu_icon [class*='menu_bar-']:last-child {
margin-bottom: 0rem;
}
.menu_icon:focus {
outline: 0;
}
.menu_bar-top {
width: 25px;
}
.menu_bar-mid {
width: 20px;
}
.menu_bar-bot {
width: 25px;
}
.side-toggle {
cursor: pointer;
z-index: 10001;
}
.side-toggle:hover {
opacity: 0.7;
}
.side-navigation li {
list-style: none;
}
.side-navigation a {
text-decoration: none;
}
footer {
background-color: #5763AB;
width: 100%;
}
.saburly-footer {
padding-bottom: 1%;
}
.connect {
background-color: #4A5699;
}
.btn {
background-color: #5dcdd4;
}
.btn:hover {
background-color: #51b5bb;
}
.rqbtn:hover {
background-color: #51b5bb;
border: 1px solid #51b5bb;
}
.main-color {
background-color: #5763AB;
color: white;
}
@media (min-width: 1024px) {
.side-menu {
display: none;
}
.saburly-footer,
.content {
margin-left: 10%;
margin-right: 10%;
}
.empty-menu{
display: block;
}
.empty-menu-small{
display: none;
}
}
@media (max-width: 1023px) {
.side-menu {
display: block;
}
.saburly-footer{
margin-left: 10%;
margin-right: 10%;
}
.empty-menu{
display: none;
}
.empty-menu-small{
display: block;
}
.side-panel {
width: 100%;
}
.content {
width: 95%;
margin-left: 2.5%;
margin-right: 2.5%;
padding-left: 0;
padding-right: 0;
}
.saburly-menu {
z-index: 9999;
margin-left: 5%;
margin-right: 5%;
}
.saburly-logo{
margin-right: 112px;
padding-top: 5px;
padding-bottom: 5px;
}
}
.header-hidden {
transform: translateY(-100%);
transition: transform 0.3s ease;
}
.header-visible {
transform: translateY(0);
transition: transform 0.3s ease;
}
.side-menu {
display: none;
}
.side-menu.active {
display: block;
}
body.side-menu.active {
overflow: none;
}
.content:before {
content: '';
background-color: rgba(0, 0, 0, 0);
}
.content-open:before {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: -2000000000px;
width: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 99;
overflow: hidden;
}
.content-open{
margin-left: -256px;
transition: margin-left 0.1s;
background-color: rgba(0, 0, 0, 0.5);
overflow: hidden;
}
.header-move{
margin-left: -256px;
transition: margin-left 0.1s;
background-color: rgba(55, 65, 105, 1.0);
}
.block-scroll{
overflow: hidden;
}
.carousel-slider{
width: 100%;
height: 130px;
overflow: hidden;
}
.carousel-slider .carousel-list{
display: flex;
width: 100%;
min-width: calc(100px * 16);
position: relative;
}
.carousel-slider .carousel-list .carousel-item{
width: 100px;
height: 100px;
position: absolute;
left: 100%;
animation: autoRun 16s linear infinite;
animation-delay: calc((16s / 16) * (var(--position) - 1));
}
.carousel-slider .carousel-list .carousel-item img{
width: 100%;
}
@keyframes autoRun {
from{
left: 100%;
}to{
left: calc(100px * -1);
}
}
.carousel-slider:hover .carousel-item{
animation-play-state: paused!important;
}