flash.moe/public/errors.css

90 lines
1.6 KiB
CSS
Raw Normal View History

2023-10-13 23:56:33 +00:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative;
outline-style: none;
}
html, body {
width: 100%;
height: 100%;
}
body {
background-color: #7b96c4;
background-color: var(--error-colour, #7b96c4);
}
.http-error {
padding: 10px 0;
}
.http-error-container {
max-width: 700px;
width: 100%;
height: 100%;
font-family: IPAMonaPGothic, 'IPA モナー Pゴシック', Monapo, Mona, 'MS PGothic', ' Pゴシック', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', monospace;
margin: 0 auto;
background-color: #fff;
border: 4px solid #060300;
border-top-width: 0;
}
a, a:visited { color: #66f; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
.http-error-top {
display: flex;
justify-content: space-between;
background-color: #000;
color: #fff;
}
.http-error-home a {
padding: 2px;
display: inline-block;
color: #7b96c4;
color: var(--error-colour, #7b96c4);
font-weight: 700;
}
.http-error-nav a {
padding: 2px;
display: inline-block;
}
.http-error-body {
margin: 10px;
color: #7b96c4;
color: var(--error-colour, #7b96c4);
}
.http-error-header {
font-size: 2em;
line-height: 1.2em;
}
.http-error-image {
text-align: center;
}
.http-error-image img {
max-width: 512px;
width: 100%;
vertical-align: middle;
}
.http-error-blerb {
text-align: center;
font-size: 1.2em;
line-height: 1.5em;
}
.http-error-footer {
font-size: .7em;
line-height: 1.3em;
text-align: center;
color: #999;
padding: 4px 0;
border-top: 2px solid #000;
}