Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added cross-browser style uniformisation.

This uses YUI's reset, fonts and base styles. Still need to adjust some
of our internal styles to gel with this but it's a good start.
  • Loading branch information...
commit bb3d3c89aa0a4e3a0a77e0777de2c2ba70984ba4 1 parent 842fd36
@malcolmt authored
View
1  static/css/base-min.css
@@ -0,0 +1 @@
+body{margin:10px;}h1{font-size:138.5%;}h2{font-size:123.1%;}h3{font-size:108%;}h1,h2,h3{margin:1em 0;}h1,h2,h3,h4,h5,h6,strong,dt{font-weight:bold;}optgroup{font-weight:normal;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;}em{font-style:italic;}del{text-decoration:line-through;}blockquote,ul,ol,dl{margin:1em;}ol,ul,dl{margin-left:2em;}ol li{list-style:decimal outside;}ul li{list-style:disc outside;}dl dd{margin-left:1em;}th,td{border:1px solid #000;padding:.5em;}th{font-weight:bold;text-align:center;}caption{margin-bottom:.5em;text-align:center;}sup{vertical-align:super;}sub{vertical-align:sub;}p,fieldset,table,pre{margin-bottom:1em;}button,input[type="checkbox"],input[type="radio"],input[type="reset"],input[type="submit"]{padding:1px;}
View
1  static/css/reset-fonts.css
@@ -0,0 +1 @@
+html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}select,input,button,textarea,button{font:99% arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}
View
4 static/css/style.layout.css
@@ -1,3 +1,4 @@
+/*
* {
margin: 0;
padding: 0;
@@ -24,6 +25,9 @@ img {
input {
vertical-align: middle;
}
+
+ */
+
#wrapper {
width: 1000px;
margin: 0 auto;
View
2  templates/base.html
@@ -3,6 +3,8 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{% block title %}Minerva{% endblock %}</title>
+ <link rel="stylesheet" href="{{MEDIA_URL}}css/reset-fonts.css" type="text/css" media="screen, projection" />
+ <link rel="stylesheet" href="{{MEDIA_URL}}css/base-min.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="{{MEDIA_URL}}css/style.layout.css" type="text/css" media="screen, projection" />
<script type="text/javascript" src="{{MEDIA_URL}}js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="{{MEDIA_URL}}js/login.js"></script>
Please sign in to comment.
Something went wrong with that request. Please try again.