Files
old-saburly-wagtail-web/static/css/style.css

249 lines
3.5 KiB
CSS
Raw Normal View History

2024-09-10 20:21:33 +02:00
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 {
2024-09-12 21:36:10 +02:00
position: fixed;
2024-09-10 20:21:33 +02:00
right: 0;
2024-09-12 21:36:10 +02:00
top: 0;
2024-09-10 20:21:33 +02:00
width: 256px;
min-height: 100vh;
2024-09-13 02:03:00 +02:00
overflow: hidden;
2024-09-10 20:21:33 +02:00
background-color: #5763ab;
2024-09-13 02:03:00 +02:00
z-index: 9999;
2024-09-10 20:21:33 +02:00
display: none;
2024-09-13 00:53:51 +02:00
transition: transform 0.5s ease-out;
2024-09-10 20:21:33 +02:00
}
.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 {
2024-09-13 00:53:51 +02:00
width: 25px;
2024-09-10 20:21:33 +02:00
}
.menu_bar-mid {
width: 20px;
}
.menu_bar-bot {
2024-09-13 00:53:51 +02:00
width: 25px;
2024-09-10 20:21:33 +02:00
}
.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;
}
2024-09-15 19:14:04 +02:00
@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;
}
}
2024-09-10 20:21:33 +02:00
.header-hidden {
transform: translateY(-100%);
transition: transform 0.3s ease;
}
.header-visible {
transform: translateY(0);
transition: transform 0.3s ease;
}
2024-09-12 21:36:10 +02:00
2024-09-13 00:53:51 +02:00
.side-menu {
display: none;
}
2024-09-12 21:36:10 +02:00
.side-menu.active {
2024-09-13 00:53:51 +02:00
display: block;
2024-09-12 21:36:10 +02:00
}
2024-09-13 02:03:00 +02:00
body.side-menu.active {
overflow: none;
}
2024-09-12 21:36:10 +02:00
2024-09-13 00:53:51 +02:00
.content:before {
content: '';
background-color: rgba(0, 0, 0, 0);
2024-09-12 21:36:10 +02:00
}
2024-09-13 00:53:51 +02:00
.content-open:before {
position: absolute;
top: 0;
2024-09-15 18:48:16 +02:00
left: 0;
right: 0;
bottom: -20000000000000px;
2024-09-13 00:53:51 +02:00
width: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 99;
2024-09-13 02:03:00 +02:00
overflow: hidden;
2024-09-12 21:36:10 +02:00
}
2024-09-13 02:03:00 +02:00
2024-09-13 00:53:51 +02:00
.content-open{
margin-left: -256px;
transition: margin-left 0.1s;
background-color: rgba(0, 0, 0, 0.5);
2024-09-13 02:03:00 +02:00
overflow: hidden;
2024-09-12 21:36:10 +02:00
}
2024-09-13 00:53:51 +02:00
.header-move{
margin-left: -256px;
transition: margin-left 0.1s;
background-color: rgba(55, 65, 105, 1.0);
}
2024-09-13 02:03:00 +02:00
.block-scroll{
overflow: hidden;
}
2024-09-15 04:36:27 +02:00
2024-09-15 18:36:35 +02:00
.carousel-slider {
2024-09-15 04:36:27 +02:00
width: 100%;
overflow: hidden;
}
2024-09-15 18:36:35 +02:00
.carousel-list {
2024-09-15 04:36:27 +02:00
display: flex;
2024-09-15 18:36:35 +02:00
flex-wrap: nowrap;
transition: transform 0.5s ease-in-out;
2024-09-15 04:36:27 +02:00
width: 100%;
}
2024-09-15 18:36:35 +02:00
.carousel-item {
width: calc(100% / 6);
flex: 0 0 calc(100% / 6);
text-align: center;
2024-09-15 04:36:27 +02:00
}
2024-09-15 18:36:35 +02:00
@media only screen and (max-width: 768px) {
.carousel-item {
width: calc(100% / 3);
flex: 0 0 calc(100% / 3);
2024-09-15 04:36:27 +02:00
}
2024-09-15 19:14:04 +02:00
}