Simplify selectors.
This commit is contained in:
parent
10f85eb856
commit
346820d626
|
@ -31,7 +31,7 @@ body {
|
||||||
|
|
||||||
/* Sections */
|
/* Sections */
|
||||||
|
|
||||||
body > header, body > section, body > footer {
|
header, section, footer {
|
||||||
float: left;
|
float: left;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
@ -39,11 +39,11 @@ body > header, body > section, body > footer {
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
|
|
||||||
body > header h1, body > header nav {
|
header h1, header nav {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
body > header h1 span {
|
header h1 span {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ nav li {
|
||||||
|
|
||||||
/* Footer */
|
/* Footer */
|
||||||
|
|
||||||
body > footer {
|
footer {
|
||||||
background-color: #222;
|
background-color: #222;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
|
@ -156,15 +156,15 @@ body > footer {
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body > footer a {
|
footer a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
body > footer .align-right p, body > footer img {
|
footer .align-right p, footer img {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
body > footer img {
|
footer img {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 8px;
|
top: 8px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
|
@ -176,7 +176,7 @@ body > footer img {
|
||||||
transition: opacity .2s;
|
transition: opacity .2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
body > footer a:hover img {
|
footer a:hover img {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue