cleaned up css

This commit is contained in:
Cankyre 2024-09-28 13:28:14 +02:00 committed by Ale
parent ab2b29d5c7
commit b189b5ea67
2 changed files with 66 additions and 33 deletions

4
.prettierrc Normal file
View file

@ -0,0 +1,4 @@
{
"tabWidth": 4,
"useTabs": false
}

View file

@ -1,22 +1,33 @@
@font-face { @font-face {
font-family: 'victor mono'; font-family: "victor mono";
src: url("/Assets/VictorMono-Regular.ttf"); src: url("/Assets/VictorMono-Regular.ttf");
} }
:root {
--background-color: #282a36;
--border-color: #44475a;
--primary-color: #ff79c6;
--secondary-color: #bd93f9;
--text-color: #f8f8f2;
--link-color: #ffb86c;
--highlight-color: #8be9fd;
}
body { body {
background-color: #282a36; background-color: var(--background-color);
display: flex; display: flex;
justify-content: center; justify-content: center;
margin: 0; margin: 0;
padding: 0; padding: 0;
font-size: 18px; font-size: 18px;
} }
#content { #content {
border-left: #44475a solid; border-left: var(--border-color) solid;
border-right: #44475a solid; border-right: var(--border-color) solid;
border-width: 1px; border-width: 1px;
max-width: 950px; max-width: 950px;
font-family: 'victor mono'; font-family: "victor mono";
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
padding-bottom: 50px; padding-bottom: 50px;
@ -24,38 +35,51 @@ body{
} }
#content h1 { #content h1 {
color: #ff79c6; color: var(--primary-color);
font-size: 50px; font-size: 50px;
margin-top: 20px; margin-top: 20px;
margin-bottom: 20px; margin-bottom: 20px;
} }
#content h1 strong{
color: #bd93f9 #content .mainheader {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
} }
#content .mainheader img {
margin-top: auto;
border: var(--border-color) solid;
border-radius: 50%;
width: 10%;
}
#content h1 strong {
color: var(--secondary-color);
}
#content p { #content p {
color: #f8f8f2 color: var(--text-color);
} }
strong { strong {
color: #bd93f9 color: var(--secondary-color);
} }
i { i {
color: #8be9fd color: var(--highlight-color);
} }
#content a { #content a {
color: #ffb86c; color: var(--link-color);
font-style: normal; font-style: normal;
text-decoration:none text-decoration: none;
} }
#content a:hover { #content a:hover {
background-color: #ffb86c; background-color: var(--link-color);
color: #282a36; color: var(--background-color);
} }
#content .paragraphwpic { #content .paragraphwpic {
@ -70,15 +94,15 @@ i {
margin-left: 5px; margin-left: 5px;
margin-right: 5px; margin-right: 5px;
margin-top: 0; margin-top: 0;
} }
#content .paragraphwpic img, .small { #content .paragraphwpic img,
.small {
max-width: 500px; max-width: 500px;
width: 90%; width: 90%;
height: 90%; height: 90%;
margin-top: 5px; margin-top: 5px;
border: #44475a solid; border: var(--border-color) solid;
border-width: 1px; border-width: 1px;
margin-left: 5px; margin-left: 5px;
margin-right: 5px; margin-right: 5px;
@ -89,28 +113,33 @@ i {
height: 40%; height: 40%;
} }
hr { display: block; height: 1px; hr {
border: 0; border-top: 1px solid #44475a; display: block;
margin: 0 0; padding: 0; height: 1px;
border: 0;
border-top: 1px solid var(--border-color);
margin: 0 0;
padding: 0;
} }
.commandline { .commandline {
background-color: #44475a; background-color: var(--border-color);
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
} }
.commandline > * { .commandline > * {
color : #8be9fd!important color: var(--highlight-color) !important;
} }
table { table {
border-collapse: collapse; border-collapse: collapse;
color : #ffb86c; color: var(--link-color);
} }
th, td { th,
border-bottom: 1px dashed #ffb86c; td {
border-left: 1px solid #ffb86c; border-bottom: 1px dashed var(--link-color);
border-right: 1px solid #ffb86c; border-left: 1px solid var(--link-color);
border-right: 1px solid var(--link-color);
padding: 5px; padding: 5px;
} }