Update main.css

This commit is contained in:
Руслан 2023-10-09 03:49:21 +06:00 committed by GitHub
parent 20a061f3ec
commit 9bb7c9f44c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +1,24 @@
:root{ :root{
--maincolor: peachpuff; --maincolor: white;
} }
html { html {
background-image: url("https://cache.teia.rocks/ipfs/QmX5JJBtzYcG8y2DGwnw6SmxNMba6nujgVh75CMHp5rc8A");
background-size: 800px;
background-attachment: fixed;
background-position: center top;
color: #232333; color: #232333;
font-family: monospace; font-family: monospace;
font-size: 15px; font-size: 15px;
line-height: 1.6em; line-height: 1.6em;
scrollbar-color: var(--maincolor) black; scrollbar-color: var(--maincolor) black;
scrollbar-width: thin; scrollbar-width: thin;
cursor: auto;
} }
body{ body{
display: block; display: block;
margin: 8px; margin: 0;
background-color: black;
color: white; color: white;
} }
@ -45,11 +49,13 @@ a {
border-bottom: 3px solid var(--maincolor); border-bottom: 3px solid var(--maincolor);
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
cursor: pointer;
} }
a:hover { a:hover {
background-color: var(--maincolor); background-color: var(--maincolor);
color: black; color: black;
cursor: pointer;
} }
ul { ul {
@ -130,11 +136,15 @@ pre code {
/* Containers */ /* Containers */
.content { .content {
margin-left: auto; background-color: black;
margin-right: auto; margin: auto;
max-width: 800px; max-width: 800px;
padding: 0 1ch; padding: 20px 50px;
word-wrap: break-word; word-wrap: break-word;
border-style: solid;
border-bottom-width: 0;
border-top-width: 0;
border-color: var(--maincolor);
} }
/* Header */ /* Header */
@ -268,8 +278,8 @@ code {
} }
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 3.5px; width: 3px;
height: 3.5px; height: 3px;
} }
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {