public
Last active

base styles for my personal projects

  • Download Gist
base.css
CSS
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
body {
background-color: #FFF;
font-family: Verdana, Helvetica, Arial;
font-size: 14px;
}
 
a img {
border: none;
}
 
a {
color: #0000FF;
}
 
body {
background-color: #4B7399;
}
 
h1, h2, h3, h4, h5 {
font-family: Helvetica;
letter-spacing:-1.25px;
}
 
h1 {
font-size: 32px;
}
 
h2 {
font-size: 20px;
}
 
h3 {
font-size: 16px;
}
 
h4 {
font-size: 14px;
margin-bottom: 1px;
}
 
hr {
width: 95%;
height: 2px;
background-color: #ddd;
border: 0;
padding: 0;
margin:20px 0 0;
}
 
#container {
width: 75%;
margin: 0 auto;
background-color: #FFF;
padding: 20px 40px;
border: solid 1px black;
margin-top: 20px;
}
 
#status {
float: right;
margin-bottom: 10px;
}
 
#flash_notice, #flash_error {
padding: 5px 8px;
margin: 10px 0;
clear: both;
}
 
#flash_notice {
background-color: #CFC;
border: solid 1px #6C6;
}
 
#flash_error {
background-color: #FCC;
border: solid 1px #C66;
}
 
.clear {
clear: both;
}
 
.fieldWithErrors {
display: inline;
}
 
#errorExplanation {
width: 400px;
border: 2px solid #CF0000;
padding: 0px;
padding-bottom: 12px;
margin-bottom: 20px;
background-color: #f0f0f0;
}
 
#errorExplanation h2 {
text-align: left;
font-weight: bold;
padding: 5px 5px 5px 15px;
font-size: 12px;
margin: 0px;
background-color: #c00;
color: #fff;
}
#errorExplanation p {
color: #333;
margin-bottom: 0;
padding: 8px;
}
#errorExplanation ul {
margin: 2px 24px;
}
#errorExplanation ul li {
font-size: 12px;
list-style: disc;
}
 
ul.navigation {
margin: 0;
padding: 0;
list-style: none;
}
 
ul.navigation li {
display: inline;
}
 
table {
border: 1px solid #000;
width: 600px;
}
 
table th {
background-color: #333;
text-align: left;
color: #fff;
}
 
div.form {
background-color: #eee;
border: 2px solid #ddd;
width: 500px;
padding: 10px;
}
 
div.form label {
display: block;
}
 
div.form input {
margin-bottom: 15px;
}
 
div.form input[type="submit"] {
margin-bottom: 0;
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.