mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-11-01 11:25:04 +03:00
212 lines
No EOL
3.4 KiB
CSS
212 lines
No EOL
3.4 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: Poppins;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: initial;
|
|
}
|
|
|
|
.header {
|
|
width: 100%;
|
|
padding: 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
padding: 10px;
|
|
font-size: 28px;
|
|
color: var(--main);
|
|
font-weight: 900;
|
|
}
|
|
|
|
.logo>span {
|
|
color: var(--second);
|
|
}
|
|
|
|
.buttons {
|
|
padding: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.btn-primary {
|
|
color: var(--btn-clr-1);
|
|
background-color: var(--main);
|
|
padding: 10px 20px 10px 20px;
|
|
border-radius: 4px;
|
|
font-weight: 700;
|
|
margin: 10px;
|
|
cursor: pointer;
|
|
border: 2px solid var(--main);
|
|
}
|
|
|
|
.btn-danger {
|
|
color: var(--btn-clr-1);
|
|
background-color: var(--important);
|
|
padding: 0px 10px 0px 10px;
|
|
|
|
border-radius: 4px;
|
|
font-weight: 700;
|
|
margin: 10px;
|
|
cursor: pointer;
|
|
border: 2px solid var(--important);
|
|
}
|
|
|
|
|
|
.btn-outline-primary {
|
|
color: var(--main);
|
|
padding: 10px 20px 10px 20px;
|
|
|
|
border-radius: 4px;
|
|
font-weight: 700;
|
|
margin: 10px;
|
|
cursor: pointer;
|
|
border: 2px solid var(--borders);
|
|
}
|
|
|
|
|
|
|
|
.btn-primary:hover {
|
|
color: var(--main);
|
|
background-color: rgba(0, 0, 0, 0);
|
|
border: 2px solid var(--main);
|
|
}
|
|
|
|
.btn-outline-primary:hover {
|
|
border: 2px solid var(--main);
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background-color: var(--important);
|
|
border: 2px solid var(--important);
|
|
}
|
|
|
|
|
|
.menu {
|
|
width: 100%;
|
|
padding: 20px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.menu-item {
|
|
padding: 10px;
|
|
font-weight: 700;
|
|
background-color: var(--second);
|
|
color: var(--menu-item);
|
|
|
|
border-radius: 5px;
|
|
width: 100%;
|
|
text-align: center;
|
|
margin: 0px 10px 0px 0px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.active-menu {
|
|
background-color: var(--main);
|
|
}
|
|
|
|
.menu-item:hover {
|
|
background-color: var(--main);
|
|
}
|
|
|
|
.admin-bar {
|
|
font-size: 15px;
|
|
color: var(--menu-item);
|
|
background: var(--main);
|
|
text-align: center;
|
|
}
|
|
|
|
div.avatar {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.avatar>img {
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 50%;
|
|
margin: auto;
|
|
}
|
|
|
|
.box-username {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--main);
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.header {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.menu {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.menu-item {
|
|
margin: 0px 10px 10px 0px;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.btn-outline-primary {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.buttons {
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
|
|
.btn-primary {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
FOOTER
|
|
*/
|
|
|
|
select {
|
|
background: #ebebeb;
|
|
border: white;
|
|
padding: 8px 20px;
|
|
font-size: 16px;
|
|
font-family: inherit;
|
|
}
|
|
|
|
select option {
|
|
font-family: inherit;
|
|
width: 290px;
|
|
}
|
|
|
|
.footer {
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
background-color: var(--main);
|
|
padding: 10px;
|
|
color: white;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
} |