-
Notifications
You must be signed in to change notification settings - Fork 0
/
style-final.css
143 lines (115 loc) · 2.33 KB
/
style-final.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
body {
background: #f4f4f4;
color: #555555;
font-family: Arial, serif;
font-size: 16px;
font-weight: normal;
/*font: normal 16px Arial, serif;*/
/*What is "em"?
In CSS, an "em" unit is equal
to the font-size for
the element to which the em is applied...
If no font size is defined anywhere in the CSS,
the em unit will be equal to the browser's
default font size for the document, which is usually 16px.
*/
line-height: 1.6em;
margin: 0;
}
.box-1 {
background-color: #333333;
color: #fff;
/*border-width: 3px;*/
/*border-color: red;*/
/*border-style: solid;*/
border: 5px solid red;
/*padding-top: 20px;*/
padding: 20px;
/* top and bottom: 20px*/
margin: 20px 0;
}
.container {
/*width: 960px;*/
width: 80%;
margin: auto;
}
.box-1 h1 {
font-family: Tahoma, serif;
font-weight: 800;
font-style: italic;
text-decoration: underline;
text-transform: uppercase;
letter-spacing: 0.2em;
}
.box-2 {
border: 3px dotted #ccc;
padding: 20px;
margin: 20px 0;
}
.categories {
border: 1px #ccc solid;
padding: 10px;
border-radius: 15px;
}
.categories h2 {
text-align: center;
}
.categories ul {
padding: 0;
/*list-style: square;*/
list-style: none;
}
a {
text-decoration: none;
}
a:hover {
color: red;
}
.categories li {
padding-bottom: 6px;
border-bottom: dotted 1px #333;
}
.my-form {
padding: 20px;
}
.my-form .form-group {
padding-bottom: 15px;
}
.my-form label {
display: block;
}
.my-form input[type="text"], .my-form textarea {
padding: 8px;
width: 100%; /* 100% of its container */
}
.button {
background-color: #333;
color: #fff;
padding: 10px 15px;
border: none;
}
.button:hover {
cursor: pointer;
}
#showcase {
background-image: url('https://d33wubrfki0l68.cloudfront.net/745537632752c917ed940755eef83c376f7b1525/c1a49/assets/images/blog/fade-to-black-header.jpg');
background-position: center right;
/*height: 400px;*/
min-height: 400px;
margin-bottom: 30px;
text-align: center;
}
#showcase h1 {
color: #fff;
font-size: 50px;
line-height: 1.6em;
padding-top: 80px;
}
.block {
float: left;
width: 33.3%;
border: 1px solid #ccc;
padding: 10px;
/* Takes the padding and border-width and apply them to the width*/
box-sizing: border-box;
}