MDL-27764 restore - always restore as much info as possible (1.9 approach)
[moodle.git] / theme / nonzero / style / core.css
blobfa3b2e1c456a19385a691c82b79b8f1a73143f92
1 /********************************************************
2 **
3 ** Theme name: Nonzero
4 ** Description: A GPL theme for the Moodle core.
5 ** Creation Date: 06/22/10
6 ** Author: Patrick Malley
7 ** Author URI: http://newschoollearning.com
8 **
9 ** Customize, edit, poke, prod, and adapt to your needs.
11 *********************************************************/
13 /* Global
14 --------------------------*/
16 body {
17 background: #fff;
18 margin: 0;
19 padding: 0;
20 color: #281f18;
23 body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
24 font-family:"Trebuchet MS", Helvetica, Arial, sans-serif;
27 .wrapper {
28 margin: 0 35px;
31 a:link,a:visited {
32 color: #27608d;
35 a:hover,a:active {
36 color: #000;
39 a img {
40 border: none;
43 a:active {
44 outline: none;
47 /* Header
48 ---------------------------*/
50 #page-header {
51 background: url([[pix:theme|n1]]) repeat-x 0 0;
52 color: #fff;
53 height: 122px;
56 #page-header h1 {
57 font-size:2.5em;
58 padding-top:70px;
59 margin: 0;
60 text-shadow: 0 -1px 1px #000;
63 .has_custom_menu #page-header h1 {
64 padding-top:60px;
67 #page-header.inside {
68 height: 75px;
71 #page-header.inside h1 {
72 font-size: 1.7em;
73 padding-top: 40px;
76 #page-header a:link,
77 #page-header a:visited {
78 color: #fff;
79 text-decoration: underline;
82 /* Navbar
83 --------------------------*/
85 .navbar {
86 padding-top: 3px;
89 .breadcrumb .sep {
90 color: #777;
91 font-size: 0.8em;
94 /* Content
95 --------------------------*/
97 #top {
98 background:url([[pix:theme|n2]]) repeat-x 0 0;
101 /* Blocks
102 ---------------------------*/
104 .block {
105 border: none;
106 margin-bottom: 25px;
109 .block .header {
110 border-bottom: 1px solid #ccc;
111 text-transform: lowercase;
114 .block .title h2 {
115 font-weight: normal;
116 font-size: 1.2em;
117 margin: 0;
120 .block .content {
121 font-size: 0.95em;
124 /* Forums
125 ---------------------------*/
127 .forumpost .subject {
128 font-size: 1.2em;
131 .forumpost .author {
132 font-size: 0.9em;
135 .forumpost .content {
136 border-bottom:5px solid #aaa;
137 padding:5px 7px 10px 7px;
140 .forumpost .topic {
141 background: #eee;
142 border-bottom: 1px solid #aaa;
145 /* Course
146 -------------------------------*/
148 .course-content .main {
149 border: 1px solid #eee;
150 background: #eee;
153 .course-content .current {
154 background: #1f5480;
157 .course-content .current .left.side {
158 color: #fff;
161 .course-content .main .content {
162 background: #fff;
165 /* Custom Menu */
166 #custommenuwrap {
167 clear: both;
168 padding-top: 4px;
171 #custommenu {
172 border-width: 0;
175 #page-header #custommenu .yui3-menu-label,
176 #page-header #custommenu .yui3-menuitem-content {
177 color: #fff;
178 font-weight: 600;
179 text-decoration: none;
180 padding-left: 0px;
181 padding-right: 20px ;
182 text-shadow: 0 -1px 1px #000;
183 margin: -2px 0;
186 #page-header #custommenu .custom_menu_submenu .yui3-menu-label,
187 #page-header #custommenu .custom_menu_submenu .yui3-menuitem-content {
188 color: #333;
189 padding-left: 5px;
190 text-shadow: none;
193 #custommenu .yui3-menu-label-active,
194 #custommenu .yui3-menuitem-active .yui3-menuitem-content {
195 color: #ccc;
198 #custommenu .yui3-menu-content,
199 #custommenu .yui3-menu-label,
200 #custommenu .yui3-menuitem-content {
201 border-width: 0;
204 #custommenu .custom_menu_submenu {
205 border: 1px solid #27608d;
206 border-top-width: 0;
207 background: #fff;
208 -webkit-border-radius: 2px;
209 -moz-border-radius: 2px;
210 border-radius: 2px;
211 -webkit-box-shadow: 0px 1px 3px #ccc;
212 -moz-box-shadow: 0px 1px 3px #ccc;
213 box-shadow: 0px 1px 3px #ccc;
216 #custommenu .custom_menu_submenu .custom_menu_submenu .yui3-menu-content {
217 border-top:1px solid #333;
220 #custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content {
221 border-width:0;
224 /** Custom CSS **/
225 [[setting:customcss]]