From 2c623139c9a1ab07241f3fec1da419054394f9bc Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Thu, 25 Jun 2015 21:51:52 -0400 Subject: Add some CSS --- urwiki.css | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 93 insertions(+), 1 deletion(-) (limited to 'urwiki.css') diff --git a/urwiki.css b/urwiki.css index 78adbe1..574177e 100644 --- a/urwiki.css +++ b/urwiki.css @@ -1,4 +1,5 @@ -/* Copyright 2015 the Massachusetts Institute of Technology +/* Copyright 2013 Garrick Van Buren and Jamie Thingelstad +Copyright 2015 the Massachusetts Institute of Technology Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the @@ -11,6 +12,97 @@ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +*:before, *:after { + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +button { + cursor: default; +} + +html { + background: #fff; + color: #000; + font-family: sans-serif; + font-size: 100%; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; +} + +body { + display: block; + background: #fff; + color: #222; + padding: 0; + margin: 0; + font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif; + font-weight: normal; + font-style: normal; + line-height: 1.6em; + position: relative; + cursor: default; +} + +div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, + th, td { + margin: 0; + padding: 0; + direction: ltr; +} + +div { + line-height: 1.6em; +} + +.Main_top_bar { + height: 45px; + line-height: 45px; + position: relative; + margin-bottom: 1.875em; + background: #111; + overflow: visible; +} + +.Main_top_bar a { + color: #fff; + font-size: 1.0625em; + font-weight: bold; + text-decoration: none; + padding: 0 15px; +} + +.Main_top_bar .Main_button_group { + float: right; + height: 45px; +} + +.Main_top_bar .Main_button_group button { + cursor: pointer; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background: inherit; + color: #fff; + border: none; + padding: 0 15px; + height: 45px; +} + +.Main_article_text { + margin: 0 auto; + padding: 0 15px; + max-width: 62.5em; +} + +.Main_article_text textarea { + width: 100%; + height: 12em; + margin-bottom: 1em; + resize: vertical; +} + .Style_invisible { display: none; } -- cgit v1.2.3