-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
186 lines (165 loc) · 3.04 KB
/
style.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
/* Default styles for larger screens */
.box {
/* Your existing styles */
}
body{
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
line-height: 1.5;
padding: 0;
margin: 0;
background-color: #35424a;}
/*Global*/
.container{
width: 80%;
margin: auto;
overflow: hidden;
}
ul{
margin: 0;
padding: 0;
}
.button_1{
height: 38px;
background:#e8491d ;
border: 0;
padding-left: 20px;
padding-right: 20px;
}
.dark{
padding: 15px;
background: #35424a;
color: white;
margin-top: 10px;
margin-bottom: 10px;
}
header{
background-color: #35424a;
color: #ffffff;
padding-top: 30px;
min-height: 70px;
border-bottom: #e8491d 3px solid;
}
header a{
color: #ffffff;
text-decoration: none;
text-transform: uppercase;
font-size: 16px;
}
header li{
float: left;
display: inline;
padding: 0 20px;
}
header #branding{float: left;
}
header #baranding h1{margin: 0;}
header nav{
margin: 10;
}
header .highlight ,header .current a{
color:#e8491d;
font-weight:bold;
}
header a:hover{color: #cccccc;
font-weight: bold;
}
#showcase{
text-align: center;
background-color:#35424a;
color: #cccccc;
}
#showcase h1{
margin-top: 10px;
font-size: 40px;
margin-bottom: 10px;
}
#showcase p{
font-size: 25px;
}
#newsletter{
pad: 15px;
background-color: #35424a;
color: #ffffff;
border-bottom: 3px solid #e8491d;
}
#newsletter h1{
float: left;
}
#newsletter form{
float: right;
margin-top: 15px;
}
#newsletter input[type="email"]{
padding:4px;
height: 25px;
width: 250px;
}
/* Boxes*/
#boxes{
background-color: #35424a;
color: #cccccc;
margin-top: 20px;
}
#boxes .box{
float:left;
text-align: center;
width: 30%;
padding: 10px;
}
#boxes .box img{
width: auto;
}
/*Sidebar*/
aside#sidebar{
float: right;
width:30%;
margin:10px;
}
/*Main-col*/
article#main-col{
float: left;
width: 65%;
}
footer{
text-align: center;
margin-top:20px;
background-color: #e8491d;
}
#showcase a{
color: #cccccc;
text-decoration: none;
}
/* Media query for smaller screens (e.g., mobile) */
@media (max-width: 768px) {
header #braanding, header nav,header nav li
#newsletter h1,
#newsletter form{
float: none;text-align: center;width: 100%;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
}
header{
padding-bottom: 20px;
}
.box {
width: 100%;
text-align: center;
margin-bottom: 20px;
}
#newsletter button{
display: block;
width: 100%;
margin-bottom: 10px;
}
#newsletter form input[type=email]{
width: 100%;
margin-bottom: 10px;
}
}
.box p a{color: #e8491d;
text-decoration: none;
}