https://github.com/sha-red/compass-mixins/tree/master/lib
extended with more sass frameworks and as django app.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
818 B
46 lines
818 B
7 years ago
|
@mixin h5bp-errorpage {
|
||
|
html.errorpages {
|
||
|
color: #888;
|
||
|
display: table;
|
||
|
font-family: sans-serif;
|
||
|
height: 100%;
|
||
|
text-align: center;
|
||
|
width: 100%;
|
||
|
|
||
|
* {
|
||
|
line-height: 1.2;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
display: table-cell;
|
||
|
vertical-align: middle;
|
||
|
margin: 2em auto;
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
color: #555;
|
||
|
font-size: 2em;
|
||
|
font-weight: 400;
|
||
|
}
|
||
|
|
||
|
p {
|
||
|
margin: 0 auto;
|
||
|
width: 280px;
|
||
|
}
|
||
|
|
||
|
@media only screen and (max-width: 280px) {
|
||
|
|
||
|
body, p {
|
||
|
width: 95%;
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
font-size: 1.5em;
|
||
|
margin: 0 0 0.3em;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|