/
PrettyWebsite.css
190 lines (160 loc) · 3.88 KB
/
PrettyWebsite.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
* {
margin: 0;
padding: 0;
}
img {
max-width: 100%;
}
body {
background-color: #101415;
font-family: Arial, 'DejaVu Sans', 'Liberation Sans', Freesans, sans-serif;
font-size: 14px;
}
div#wrapper {
margin: auto 225px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
background-color: #fff;
}
#wrapper > header {
background-image: url(images/headerBackground.jpg);
background-repeat: no-repeat;
height: 270px;
}
#wrapper header h1 {
color: #FFFFFF;
float: right;
margin-top: 200px;
margin-right: 40px;
font-size: 2.15em;
}
#wrapper nav {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin-bottom: 23px;
}
#wrapper nav ul {
background-color: #DEDEDE;
border-bottom: 1px solid white;
box-shadow: 0 3px #DEDEDE;
}
#wrapper nav ul li {
list-style: none;
display: inline-block;
padding: 10px 30px;
margin-right: -4px;
border-right: 1px solid white;
}
#wrapper nav ul li:hover {
background-color: #BEBEBE;
}
#wrapper nav ul li:hover a {
color: #fff;
}
#wrapper nav ul li a {
display: block;
height: 100%;
text-decoration: none;
color: #626161;
font-size: 1.3em;
}
#wrapper section {
float: left;
width: 65%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin-left: 4%;
border: 1px solid #DBDBDB;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
margin-bottom: 15px;
padding: 15px 20px;
font-size: 0.9em;
}
#wrapper section header {
margin-bottom: 15px;
}
#wrapper section header h2 {
color: #84BE19;
font-size: 1.9em;
}
#wrapper section div p {
font-weight: bold;
display: inline;
}
#wrapper section:last-of-type div.product {
height: 140px;
}
#wrapper section:last-of-type div.product img {
float: left;
margin-right: 2%;
}
#wrapper section:last-of-type div.product div.contend {
display: inline-block;
width: 68%;
float: right;
}
#wrapper section:last-of-type div.product div.contend h3 {
font-size: 1em;
margin-bottom: 15px;
}
#wrapper aside {
float: right;
width: 23%;
margin-right: 4%;
margin-bottom: 15px;
border: 1px solid #DBDBDB;
position: relative;
top: -220px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
padding: 15px 30px 10px 20px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
#wrapper aside header {
margin-bottom: 15px;
}
#wrapper aside header h2 {
font-size: 1.8em;
color: #84BE19;
}
#wrapper aside > div:not(:last-of-type) {
font-size: 1em;
margin-bottom: 10px;
}
#wrapper aside div div {
font-size: 0.9em;
font-weight: bold;
}
#wrapper aside div p {
font-size: 0.9em;
}
#wrapper aside div a {
font-size: 0.9em;
color: #84BE19;
}
#wrapper aside#news {
background-color: #EEEEEE;
}
#wrapper aside#msg div p {
margin-bottom: 15px;
}
#wrapper footer {
clear: both;
height: 80px;
background-color: #9BD238;
padding-top: 2px;
}
#wrapper footer p {
height: 100%;
border-top: 1px solid white;
padding-left: 20%;
padding-top: 30px;
}