Last active
June 23, 2017 19:55
-
-
Save electricgecko/606c64f8e269f34d206f6a254f0e9453 to your computer and use it in GitHub Desktop.
CSS to accompany the Rotonde post script (https://gist.github.com/electricgecko/d6761ec0a065ff7932fde41470d0ca0c)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, a, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, input, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
outline: 0; | |
text-decoration: none; | |
font-weight: normal; | |
font-size: 1em; | |
} | |
body { | |
font-family: 'Arial', sans-serif; | |
font-weight: 200; | |
text-rendering: optimizeLegibility; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
background: #000; | |
color: #fff; | |
font-size: 12pt; | |
padding: 20px; | |
} | |
header > a + span { | |
font-size: 7.5pt; | |
line-height: 7pt; | |
letter-spacing: 1px; | |
display: inline-block; | |
} | |
a { | |
color: #fff; | |
text-decoration: none; | |
border-bottom: 1px solid #444; | |
padding-bottom: 3px; | |
} | |
header { | |
height: 35px; | |
} | |
header .button { | |
position: absolute; | |
right: 20px; | |
top: 20px; | |
} | |
header .backlink { | |
border: 0; | |
padding: 0; | |
} | |
a.button { | |
font-size: 7.5pt; | |
line-height: 1em; | |
min-width: 40px; | |
text-align: center; | |
background: #fff; | |
color: #000; | |
padding: 10px; | |
} | |
form { | |
margin: 50px auto 0; | |
max-width: 700px; | |
} | |
form > * { | |
outline: none; | |
} | |
input[type=text], | |
input[type=submit] { | |
-webkit-appearance: none; | |
border-radius: 0; | |
border-bottom: 1px solid #fff; | |
display: block; | |
width: 100%; | |
font-size: 18pt; | |
line-height: 1em; | |
background: #000; | |
color: #fff; | |
padding: 10px 0; | |
} | |
label { | |
font-size: 7.5pt; | |
} | |
.dateblock { | |
margin: 30px 0; | |
} | |
input[type=text] { | |
font-size: 10pt; | |
font-family: "Courier", monospace; | |
background: #000; | |
color: #fff; | |
} | |
input[type=date] { | |
-webkit-appearance: none; | |
border: 1px solid #fff; | |
border-radius: 0; | |
padding: 0 15px 0 10px; | |
margin: 0 0 10px 0; | |
background: #000; | |
color: #fff; | |
font-size: 14pt; | |
line-height: 32pt; | |
} | |
input[type=date]:first-child { | |
margin-right: 10px; | |
} | |
input[type=date]:after { | |
position: absolute; | |
margin: -2px 0 0 -5px; | |
content: "▾"; | |
} | |
.currently { | |
width: 100%; | |
} | |
textarea { | |
display: block; | |
border-radius: 0; | |
border: 1px solid #fff; | |
padding: 10px; | |
margin: 0; | |
width: 100%; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
font-size: 10pt; | |
font-family: "Courier", monospace; | |
background: #000; | |
color: #fff; | |
} | |
input[type=submit] { | |
border: none; | |
background: #fff; | |
color: #000; | |
font-size: 14pt; | |
line-height: 1.6em; | |
cursor: pointer; | |
margin-top: 30px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment