Skip to content

Instantly share code, notes, and snippets.

@AfroThundr3007730
Last active September 15, 2018 21:10
Show Gist options
  • Save AfroThundr3007730/bcb10aafa7ac7f4cd5703379bd07d549 to your computer and use it in GitHub Desktop.
Save AfroThundr3007730/bcb10aafa7ac7f4cd5703379bd07d549 to your computer and use it in GitHub Desktop.
Current main site css
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
button,
hr,
input {
overflow: visible
}
audio,
canvas,
progress,
video {
display: inline-block
}
progress,
sub,
sup {
vertical-align: baseline
}
[type=checkbox],
[type=radio],
legend {
box-sizing: border-box;
padding: 0
}
html {
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%
}
body {
margin: 0
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
display: block
}
h1 {
font-size: 2em;
margin: .67em 0
}
figure {
margin: 1em 40px
}
hr {
box-sizing: content-box;
height: 0
}
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em
}
a {
background-color: transparent;
-webkit-text-decoration-skip: objects
}
abbr[title] {
border-bottom: none;
text-decoration: underline;
text-decoration: underline dotted
}
b,
strong {
font-weight: bolder
}
dfn {
font-style: italic
}
mark {
background-color: #ff0;
color: #000
}
small {
font-size: 80%
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative
}
sub {
bottom: -.25em
}
sup {
top: -.5em
}
audio:not([controls]) {
display: none;
height: 0
}
img {
border-style: none
}
svg:not(:root) {
overflow: hidden
}
button,
input,
optgroup,
select,
textarea {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0
}
button,
select {
text-transform: none
}
[type=reset],
[type=submit],
button,
html [type=button] {
-webkit-appearance: button
}
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
border-style: none;
padding: 0
}
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
outline: ButtonText dotted 1px
}
fieldset {
padding: .35em .75em .625em
}
legend {
color: inherit;
display: table;
max-width: 100%;
white-space: normal
}
textarea {
overflow: auto
}
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
height: auto
}
[type=search] {
-webkit-appearance: textfield;
outline-offset: -2px
}
[type=search]::-webkit-search-cancel-button,
[type=search]::-webkit-search-decoration {
-webkit-appearance: none
}
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit
}
summary {
display: list-item
}
[hidden],
template {
display: none
}
/*! Simple HttpErrorPages | MIT X11 License | https://github.com/AndiDittrich/HttpErrorPages */
body,
html {
width: 100%;
height: 100%;
background-color: #21232a
}
body {
color: #fff;
text-align: center;
text-shadow: 0 2px 4px rgba(0, 0, 0, .5);
padding: 0;
min-height: 100%;
-webkit-box-shadow: inset 0 0 75pt rgba(0, 0, 0, .8);
box-shadow: inset 0 0 75pt rgba(0, 0, 0, .8);
display: table;
font-family: "Open Sans", Arial, sans-serif
}
h1 {
font-family: inherit;
font-weight: 500;
line-height: 1.1;
color: inherit;
font-size: 36px
}
h1 small {
font-size: 68%;
font-weight: 400;
line-height: 1;
color: #777
}
a {
text-decoration: none;
color: #fff;
font-size: inherit;
border-bottom: dotted 1px #707070
}
.lead {
color: silver;
font-size: 21px;
line-height: 1.4
}
.cover {
display: table-cell;
vertical-align: middle;
padding: 0 20px
}
footer {
position: fixed;
width: 100%;
height: 40px;
left: 0;
bottom: 0;
color: #a0a0a0;
font-size: 14px
}
/*! my own css | GPLv3 - if anyone cares */
@font-face {
font-family: "Web DejaVu Sans Mono";
src: url("//cdn.dm4productions.com/assets/fonts/DejaVuSansMono.woff") format("woff");
font-weight: 400;
font-style: normal
}
@font-face {
font-family: "Web DejaVu Sans Mono";
src: url("//cdn.dm4productions.com/assets/fonts/DejaVuSansMono-Oblique.woff") format("woff");
font-weight: 400;
font-style: italic
}
@font-face {
font-family: "Web DejaVu Sans Mono";
src: url("//cdn.dm4productions.com/assets/fonts/DejaVuSansMono-Bold.woff") format("woff");
font-weight: 700;
font-style: normal
}
@font-face {
font-family: "Web DejaVu Sans Mono";
src: url("//cdn.dm4productions.com/assets/fonts/DejaVuSansMono-BoldOblique.woff") format("woff");
font-weight: 700;
font-style: italic
}
@font-face {
font-family: "Web DejaVu Sans";
src: url("//cdn.dm4productions.com/assets/fonts/DejaVuSans.woff") format("woff");
font-weight: 400;
font-style: normal
}
@font-face {
font-family: "Web DejaVu Sans";
src: url("//cdn.dm4productions.com/assets/fonts/DejaVuSans-Oblique.woff") format("woff");
font-weight: 400;
font-style: italic
}
@font-face {
font-family: "Web DejaVu Sans";
src: url("//cdn.dm4productions.com/assets/fonts/DejaVuSans-Bold.woff") format("woff");
font-weight: 700;
font-style: normal
}
@font-face {
font-family: "Web DejaVu Sans";
src: url("//cdn.dm4productions.com/assets/fonts/DejaVuSans-BoldOblique.woff") format("woff");
font-weight: 700;
font-style: italic
}
@-ms-viewport {
width: device-width;
}
html {
height: 100%;
box-sizing: border-box
}
body {
color: #000000;
background-color: #339933;
background-attachment: fixed;
background-image: url("//cdn.dm4productions.com/assets/img/textures/dark-wood.png");
font-family: "DejaVu Sans", "Web DejaVu Sans", sans-serif;
font-size: 14px;
text-align: center;
position: relative;
min-height: 100%;
padding: 0px;
padding-bottom: 40px;
margin: 0px;
text-shadow: none;
box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.8)
}
.caption {
font-size: 12px
}
div {
width: 90%;
margin: 0px auto
}
.footer {
height: 40px;
position: absolute;
left: 0px;
right: 0px;
bottom: 0px;
padding: 0px
}
a {
color: #202020;
text-decoration: none;
border-bottom: none
}
hr {
color: #202080;
background-color: #202080;
height: 2px;
border: none
}
img {
width: auto;
height: auto;
display: block;
margin: 0px auto
}
#indextitle {
font-family: "DejaVu Sans Mono", "Web DejaVu Sans Mono", monospace;
color: rgba(200, 200, 200, 0.2);
text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
background-color: rgba(0, 0, 0, 0.2);
box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3)
}
#indexlist {
font-family: "DejaVu Sans Mono", "Web DejaVu Sans Mono", monospace;
font-size: 14px;
margin-left: auto;
margin-right: auto;
background-color: rgba(200, 200, 200, 0.1);
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5)
}
tr.indexbreakrow,
tr.odd {
background-color: rgba(0, 0, 0, 0.1)
}
h1 small {
color: #555
}
.cover {
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5)
}
.toc {
max-width: 720px
}
h2,
h3 {
font-weight: 500
}
td.indexcolsize {
text-align: right;
padding-left: 5px;
padding-right: 5px
}
/* CSS for //widget.battleforthenet.org/widget.js */
#_bftn_wrapper {
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 20000;
-webkit-overflow-scrolling: touch;
overflow-y: auto;
}
#_bftn_iframe {
width: 100%;
height: 100%;
}
/* CSS for //redalert.battleforthenet.org/widget.js */
#RED_ALERT_WIDGET {
position: fixed;
right: 0px;
left: auto;
bottom: 0px;
width: 450px;
height: 350px;
z-index: 20000;
-webkit-overflow-scrolling: touch;
overflow: hidden;
transition: width 200ms ease-in, height 200ms ease-in;
}
#RED_ALERT_WIDGET.RAW--maximized {
width: 100%;
height: 100%;
}
#RED_ALERT_WIDGET.RAW--closing {
transform: scale(0);
transform-origin: bottom right;
opacity: 0;
transition: transform 200ms ease-in, opacity 200ms ease-in;
}
#RED_ALERT_WIDGET iframe {
width: 100%;
height: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment