mainwebpage/style.css

222 lines
3.7 KiB
CSS
Raw Permalink Normal View History

2024-06-15 00:33:36 +03:00
.open{
display: flex !important;
}
body{
font-size: 16px;
font-family: 'Arimo', sans-serif;
overflow: visible;
margin: 0;
background: #778179;
background: linear-gradient(0deg, #778179 2%, #4a6674 4%, #fff 100%);
}
.content{
background: #fefefe;
width: 100%;
min-width: 320px;
max-width: 1200px;
margin: 0 auto;
}
.logo img{
margin: 0 auto;
max-height: 320px;
width: 100%;
}
.welcome{
width: auto;
}
.welcome h1{
text-align: center;
margin: 25px auto 25px auto;
width: auto;
}
.nav-menu{
margin: 0;
display: flex;
align-items: center;
justify-content: space-between;
background: #6f6f73;
height: 100%;
}
.nav-menu a{
color: #fefefe;
background: #6f6f73;
padding: 0px;
text-decoration: none;
width: 100%;
}
.nav-menu ul{
margin: 10px;
padding: 0;
width: auto;
flex-wrap: wrap;
list-style: none;
align-content: center;
display: flex;
justify-content: flex-start;
min-width: 120px;
height: auto;
}
.nav-menu ul li{
margin: 7px;
}
.nav-desktop{
display: flex;
width: auto;
}
.nav-mobile{
display: none;
position: relative;
z-index: 50;
align-items: center;
justify-content: flex-start;
width: 30px;
height: 20px;
}
.nav-mobile span{
height: 2px;
width: 75%;
transform: scale(1);
background-color: #608631;
}
.nav-mobile::before, .nav-mobile::after{
content: '';
position: absolute;
height: 3px;
width: 30px;
background-color: #608631;
transition: all 0.3s ease 0s;
}
.nav-mobile::before{top: 0}
.nav-mobile::after{bottom: 0}
.nav-mobile.active span { transform: scale(0)}
.nav-mobile.active::before{
top: 50%;
transform: rotate(-45deg) translate(0, -50%);
}
.nav-mobile.active::after{
bottom: 50%;
transform: rotate(45deg) translate(0, 50%);
}
@media(max-width: 768px){
.nav-menu{
padding: 10px;
}
.nav-mobile{
display: flex;
height: 30px;
width: 30px;
margin-right: 15px;
}
.nav-desktop{
display: none;
flex-direction: column;
height: 100%;
width: 100%;
margin: 0;
margin-left: 20px;
z-index: 50;
overflow-y: auto;
padding: 10px 0px;
}
.nav-desktop ul{
flex-direction: column;
grid-row-gap: 21px;
}
.nav-desktop ul li{
width: 100%;
}
.nav-desktop a{
width: 100%;
}
}
.ip{
display: flex;
justify-content: flex-end;
background: #6d6d6d;
color: #dcdca9;
padding: 10px;
text-align: right;
width: auto;
}
.status{
display: none;
background: #6d6d6d;
color: #dcdca9;
padding: 10px;
text-align: right;
}
.news{
margin: 10px;
padding: 19px;
border: 2px solid #608631;
background: #fff;
display: flex;
flex-direction: column;
}
.tema{
display: flex;
flex: 1;
border-bottom: 2px solid #cccfd3;
padding-bottom: 5px;
}
.time{
font-weight: bold;
font-style: italic;
color: #608631;
margin-right: 5px;
}
.subject{
font-weight: bold;
margin-left: 5px;
}
.text{
width: 100%;
margin-top: 10px;
}
.pvp-img{
width: 100%;
}
.imgbg{
margin: 0 auto;
width: auto;
height: 160px;
background-image: url(images/imgbot.jpg);
background-size: 100% 100%;
}
footer{
background: #1e1e1e;
color: #dcdca9;
height: 80px;
margin: 0px;
padding: 25px 0 0 25px;
}