css: improve code readibility

This commit is contained in:
Kazhnuz 2018-10-03 14:49:15 +02:00
parent 9e5b87d79c
commit 8a05c4364a

View file

@ -1,3 +1,5 @@
/* ------------------ FONT LOADING ------------------- */
@font-face {
font-family: 'ClearSans';
src: url('../fonts/ClearSans-Light.eot');
@ -43,6 +45,8 @@
font-style: italic;
}
/* ------------------ GLOBAL STYLE ------------------- */
body {
font-family: ClearSans, sans-serif;
text-align: left;
@ -65,85 +69,72 @@ color:#2484c1;
text-decoration:none;
}
h1, h2, h3, h4, h5, h6, h7 {
::selection { background: #2484c1; color: #fff; }
::-moz-selection { background: #2484c1; color: #fff; }
/* ------------------ TITLES ------------------- */
h1, h2, h3, h4, h5, h6, h7 {
text-align: left;
font-size: 1em;
line-height: 1.5em;
padding:0px;
margin:0px;
font-weight:400;
}
h1 {
text-align: left;
font-size: 2em;
line-height: 1.5em;
padding:0.2em;
margin-bottom:1em;
font-weight:600;
}
h2 {
text-align: left;
font-size: 1.8em;
line-height: 1.5em;
padding:0.1em;
/*margin-bottom:0.5em;*/
font-weight:600;
}
h3 {
text-align: left;
font-size: 1.6em;
line-height: 1.5em;
padding:0.1em;
/*margin-bottom:0.5em;*/
font-weight:600;
}
h4 {
text-align: left;
font-size: 1.4em;
line-height: 1.5em;
padding:0.1em;
/*margin-bottom:0.5em;*/
font-weight:600;
}
h5 {
text-align: left;
font-size: 1.4em;
line-height: 1.5em;
padding:0.1em;
/*margin-bottom:0.5em;*/
font-weight:400;
}
h6 {
text-align: left;
font-size: 1.2em;
line-height: 1.5em;
padding:0.1em;
/*margin-bottom:0.5em;*/
font-weight:400;
}
hr {
/* ------------------ HR ------------------- */
hr {
border-top: 0px;
border-left: 0px;
border-right: 0px;
@ -151,17 +142,13 @@ hr {
border-color: rgba(1,1,1,0.15);
border-style: solid;
margin: 1.6em;
}
.time {
/* ------------------ SPECIAL STYLING ------------------- */
.time {
font-style: italic;
text-align: right;
width: 100%;
display: block;
}
::selection { background: #2484c1; color: #fff; }
::-moz-selection { background: #2484c1; color: #fff; }