dark theme

This commit is contained in:
Tolstoevsky 2020-02-18 10:29:13 +03:00
parent 118d4cfe8c
commit 67784ff09d
No known key found for this signature in database
GPG key ID: EDD59F3A654C596C
2 changed files with 96 additions and 57 deletions

View file

@ -3,12 +3,36 @@
src:url('../fonts/exo2.ttf');
}
.textblock {
background-color:#224;
border-radius:4px;
border:1px solid #667;
display:inline-block;
width: 90%;
height: 90%;
color: #bbb;
}
.imgblock {
background-color:#334;
border-radius:4px;
border:1px solid #667;
display:inline-block;
width: 90%;
height: 90%;
color: #bbb;
padding: 1% 1% 1% 1%;
text-align: justify;
}
body {
font: 90%/160% exo2;
color: #666;
font: 110%/180% exo2;
width: 900px;
max-width: 96%;
margin: 0 auto;
background-color:#335;
}
p {
margin: 0 0 20px;
@ -21,13 +45,13 @@ a:hover {
color: #F60;
}
h1, h2, h3 {
color: #000;
color: #eee;
line-height: 120%;
margin: 30px 0 10px;
}
h1 {
font-size: 1.7em;
color: #000;
color: #bbb;
}
h2 {
font-size: 1.4em;
@ -56,15 +80,15 @@ h3 {
.nav a {
padding: 3px 12px;
text-decoration: none;
color: #999;
color: #eee;
line-height: 100%;
}
.nav a:hover {
color: #000;
color: #333;
}
.nav .current a {
background: #999;
color: #fff;
background: #eee;
color: #888;
border-radius: 5px;
}
@ -90,7 +114,7 @@ h3 {
top: 0;
left: 0;
border: solid 1px #aaa;
background: #fff url(images/icon-menu.png) no-repeat 10px 11px;
background: #000 url(images/icon-menu.png) no-repeat 10px 11px;
border-radius: 5px;
box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
@ -108,7 +132,7 @@ h3 {
}
.nav .current a {
background: none;
color: #666;
color: #333;
}
/* on nav hover */
@ -137,10 +161,12 @@ h3 {
h1, h2, h3 {
color: #000;
color: #999;
line-height: 120%;
margin: 30px 0 10px;
font-family: "exo2";
}