forked from gdi-curriculum-review/gdi-featured-js-intro-OLD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclassexercises.css
109 lines (93 loc) · 1.63 KB
/
classexercises.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
/* Pretty code box */
.codebox {
border:1px solid black;
background-color:#EEEEFF;
width:100%;
overflow:auto;
padding:10px;
}
pre {
margin: 0;
}
code{
word-wrap: break-word;
}
/*More readable forms*/
form label {
display: block;
float: left;
clear: left;
width: 10%;
margin-right: 10px;
text-align: right;
}
form textarea, input, select, label, button, optgroup {
margin-top: 5px;
}
/*Overall Design*/
body{
background-color: #D3C7B1;
font-family: Sans-Serif;
}
#wrapper{
width: 75em;
margin: 2em auto;
background-color: #fff;
}
#header{
background-color: #3B597D;
margin: 0;
padding: 1em;
color: #fff;
}
#main{
background-color: #fff;
padding: 1em;
width: 58em;
float: left;
}
#sidebar{
background-color: #D68051;
padding: 1em;
width: 13em;
float: right;
}
#footer{
background-color: #3B597D;
margin: 0;
padding: 1em;
color: #fff;
clear: both;
}
div#footer a{
color: #fff;
}
/*Sidebar links*/
#sidebar ul{
list-style-type: none;
margin: 0;
padding: 5px;
}
#sidebar ul li {
display: inline-block;
width: 95%;
height: 40px;
line-height: 40px;
font-size: 130%;
padding: 5px;
margin-bottom: 5px;
background: #3B597D;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#1d2c3e), to(#3B597D));
background: -webkit-linear-gradient(#1d2c3e, #3B597D);
background: -moz-linear-gradient(#1d2c3e, #3B597D);
background: -ms-linear-gradient(#1d2c3e, #3B597D);
background: -o-linear-gradient(#1d2c3e, #3B597D);
background: linear-gradient(#1d2c3e, #3B597D);
border: 1px solid #1d2c3e;
border-radius: 2px;
font-weight: bold;
}
#sidebar ul li a{
text-decoration: none;
color: #ffffff;
}