-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
156 lines (124 loc) · 2.15 KB
/
main.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
/* the styles for the html elements */
html {
background-color: rgb(192, 192, 192);
}
body {
margin-top: 0;
font-family: Arial, Helvetica, sans-serif;
width: 80%;
margin: 0 auto;
background-color: white;
border: 1px solid black;
padding: .5em 2em;
}
header {
margin: 0;
border-bottom: 2px solid black;
}
header h1 {
margin: 0;
padding: .5em 0;
color: black;
}
main {
margin: 0;
}
aside {
float: left;
width: 150px;
}
nav ul {
list-style-type: none;
margin-left: 0;
padding-left: 0;
}
nav ul li {
padding-bottom: 0.5em;
}
section {
float: left;
width: 500px;
padding-bottom: 1.5em;
}
footer {
clear: both;
margin-top: 1em;
border-top: 2px solid black;
}
footer p {
text-align: right;
font-size: 50%;
margin: 1em 0;
}
h1 {
font-size: 150%;
margin: 0;
padding: .5em 0 .25em;
}
h2 {
font-size: 120%;
margin: 0;
padding: .25em 0 .5em;
}
h1,
h2 {
color: rgb(208, 133, 4);
}
ul {
margin: 0 0 1em 0;
padding: 0 0 0 2.5em;
}
li {
margin: 0;
padding: 0;
}
a {
color: rgb(41, 64, 124);
font-weight: bold;
}
a:hover {
color: rgb(208, 133, 4);
}
table {
border: 1px solid black;
border-collapse: collapse;
}
td,
th {
width: 20em;
border: 1px dashed black;
padding: .2em .5em .2em .5em;
vertical-align: top;
text-align: left;
}
form {
margin: 0;
}
br {
clear: left;
}
/* the styles for classes */
.right {
text-align: right;
}
.last_paragraph {
margin-bottom: 2em;
}
/********************************************************************
* Additional styles for the Contact Manager application
********************************************************************/
#add_product_form {
margin: .5em 0 1em;
}
#add_product_form label {
width: 7em;
padding-right: 1em;
padding-bottom: .5em;
float: left;
}
#add_product_form input {
float: center;
}
#add_product_form input[text] {
width: 30em;
}