mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-11-01 03:25:04 +03:00
273 lines
4.2 KiB
CSS
273 lines
4.2 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');
|
||
|
|
||
|
|
||
|
|
||
|
:root {
|
||
|
--alair: #736FE9;
|
||
|
--main: #736FE9;
|
||
|
--btn-clr-1: #e8e8e8;
|
||
|
--menu-item: #ffffff;
|
||
|
--borders: #d9d9d9;
|
||
|
--input-clr: #dcdcdc;
|
||
|
--box-shadow: #c3c3c3;
|
||
|
--second: #9f9f9f;
|
||
|
--anti: #ebebeb;
|
||
|
--t-username: rgb(236 236 236);
|
||
|
--background-color: #000000;
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
/***********************************
|
||
|
|
||
|
START OF OLD THEME
|
||
|
|
||
|
***********************************/
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
* {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
margin: 0;
|
||
|
font-family: Poppins;
|
||
|
min-height: 400px;
|
||
|
margin-bottom: 100px;
|
||
|
clear: both;
|
||
|
}
|
||
|
|
||
|
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: #fafafa;
|
||
|
background-color: var(--alair);
|
||
|
border-color: var(--alair);
|
||
|
padding: 10px 20px 10px 20px;
|
||
|
border-radius: 4px;
|
||
|
font-weight: 700;
|
||
|
margin: 10px;
|
||
|
cursor: pointer;
|
||
|
border: 2px solid var(--main);
|
||
|
}
|
||
|
|
||
|
.btn-primary:hover {
|
||
|
color: var(--alair);
|
||
|
background-color: rgba(0, 0, 0, 0);
|
||
|
border: 2px solid var(--alair);
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
.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(--alair);
|
||
|
padding: 10px 20px 10px 20px;
|
||
|
|
||
|
border-radius: 4px;
|
||
|
font-weight: 700;
|
||
|
margin: 10px;
|
||
|
cursor: pointer;
|
||
|
border: 2px solid var(--borders);
|
||
|
}
|
||
|
|
||
|
.btn-outline-primary:hover {
|
||
|
color: var(--btn-clr-1);
|
||
|
background-color: var(--alair);
|
||
|
border: 2px solid var(--alair);
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
/***********************************
|
||
|
|
||
|
START OF BOOTSTRAP THEME
|
||
|
|
||
|
***********************************/
|
||
|
|
||
|
.a:hover {
|
||
|
color: var(--alair);
|
||
|
}
|
||
|
|
||
|
.CodeMirror {
|
||
|
color: var(--input-clr);
|
||
|
background-color: var(--bs-body-bg);
|
||
|
}
|
||
|
|
||
|
|
||
|
footer {
|
||
|
background-color: #000000;
|
||
|
font-size: small;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
min-height: 400px;
|
||
|
background-size: cover;
|
||
|
clear: both;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: var(--alair);
|
||
|
}
|
||
|
|
||
|
.alair-trans {
|
||
|
padding: 20px;
|
||
|
background-color: rgba(0, 0, 0, 0.7);
|
||
|
}
|
||
|
|
||
|
.alair-cl {
|
||
|
width: 50%;
|
||
|
}
|
||
|
|
||
|
@media screen and (max-width: 768px) {
|
||
|
.alair-cl {
|
||
|
width: 90%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.container-sm {
|
||
|
margin-top: 25px;
|
||
|
margin-bottom: 125px;
|
||
|
}
|