Files
86box.github.io/assets/css/style-reduced.css
2025-10-26 18:41:05 -03:00

184 lines
3.0 KiB
CSS

/* Reduced stylesheet for retro browsers, mostly targeting Internet Explorer 6. */
/* Global Defaults */
html {
color: #f9f9f9;
font-family: "Source Code Pro", "Courier New", "Courier", monospace;
}
/* Body Layout */
body {
background: url("/assets/images/starsky.png");
background-repeat: repeat-x;
background-color: #212e40;
margin: 12px 8px;
}
/* Page Layout */
header { /* N/A on IE6 */
display: inline;
}
img {
border: none;
}
img#logo {
margin-right: 15pt;
}
a.navlink {
font-size: 15pt;
margin: 0 6pt;
}
nav { /* requires JS on IE6 */
display: inline;
vertical-align: middle;
}
hero, main { /* requires JS on IE6 */
display: block;
margin: 5pt 0pt;
}
div#footer {
display: block;
background-color: #2b496f;
text-align: center;
color: #8c9dbb;
padding: 10pt;
font-size: 11pt;
}
/* Buttons */
button {
color: #0f1934;
background-color: #f9f9f9;
font: bold 16px "Source Code Pro", "Courier New", "Courier", monospace;
text-align: center;
text-transform: uppercase;
border: none;
border-radius: 4px; /* N/A on IE6 */
padding: 9px 9px;
border: 1px solid #f9f9f9;
}
/* Links */
a {
color: #b9d3e8;
font-weight: bold;
text-decoration: none;
}
a:hover {
color: white;
}
a:active {
color: #cecece;
}
div#socialnew {
display: none;
}
/* Pages */
div#bisectform, p#bisectbtns {
display: none;
}
.bisectgood {
background: #80ff80;
}
.bisectbad {
background: #ff8080;
}
span#bisecttry {
display: none;
}
/* Blog */
sup {
font-size: x-small;
}
sup > a.footnote {
margin-left: 1pt;
}
sup > a.footnote:before { /* different from modern syntax */
content: "[";
}
sup > a.footnote:after {
content: "]";
}
li:target, sup:target {
background: #202040;
}
a.reversefootnote {
font-size: smaller;
}
img.heading, img.image {
text-align: center;
max-width: 100%; /* N/A on IE6 */
width: expression((getNaturalWidth(this) >= (document.body.clientWidth - 16)) ? "100%" : "auto"); /* requires JS */
display: block;
margin-top: 10pt;
margin-bottom: 5pt;
}
.image-caption {
text-align: center;
margin-bottom: 10pt;
}
hr {
border-color: #808080;
width: 100%;
}
h1.blogpost, h2, h3 {
margin-bottom: 0.5em;
}
h2.bloglist {
margin: 0.5em 0.33em 0 0;
margin-bottom: 0.33em;
}
p.blogspacer {
margin-bottom: 0.5em;
}
span.emoji {
display: none;
}
div.scroll {
height: expression(Math.min(document.documentElement.clientHeight - 20, 500) + "px");
padding-right: 1px;
overflow-y: scroll;
}
table {
border: 1px solid #808080;
}
tr:hover { /* N/A on IE6 */
background: #202040;
}
th, td {
border: 1px solid #808080;
padding: 5px;
}
code {
font-size: 11pt;
background: #404040;
border-radius: 4px; /* N/A on IE6 */
padding: 0pt 4px;
}
pre.highlight > code {
background: #202020; /* manual override instead of :not */
}
div.highlighter-rouge {
width: 100%;
overflow-x: scroll; /* auto results in overlapping scrollbar */
}
div.highlight {
border-radius: 8px; /* N/A on IE6 */
}
pre.highlight {
margin: 0;
padding: 6px 8px;
}
pre.highlight > code {
padding: 0;
}
iframe {
display: block;
border: none;
}
iframe.youtube {
display: none;
}