switching/css/base.css
Tolstoevsky 7901ab3e24
im
2020-02-18 15:00:49 +03:00

77 lines
1012 B
CSS

@font-face {
font-family: 'exo2';
src:url('../fonts/exo2.ttf');
}
.textblock {
background-color:#224;
border-radius:6px;
border: 1px solid #667;
display:inline-block;
width: auto;
color: #bbb;
padding: 2% 2% 2% 2%;
margin: 1% 1% 1% 1%;
}
.imgblock {
background-color:#334;
border-radius:6px;
border:1px solid #667;
display:inline-block;
width: 90%;
height: 90%;
color: #bbb;
padding: 2% 2% 2% 2%;
margin: 1% 1% 1% 1%;
text-align: justify;
}
body {
font: 110%/180% exo2;
width: 900px;
max-width: 96%;
margin: 0 auto;
background-color:#335;
}
p {
margin: 0 0 20px;
}
a {
color: #69C;
text-decoration: none;
}
a:hover {
color: #F60;
}
h1, h2, h3 {
color: #eee;
line-height: 120%;
margin: 20px 0 10px;
}
h1 {
font-size: 1.7em;
color: #bbb;
}
h2 {
font-size: 1.4em;
}
h3 {
font-size: 1.1em;
}
h1, h2, h3 {
color: #999;
line-height: 120%;
margin: 20px 0 10px;
font-family: "exo2";
}