-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlandingpage.css
More file actions
194 lines (168 loc) · 4.14 KB
/
Copy pathlandingpage.css
File metadata and controls
194 lines (168 loc) · 4.14 KB
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
191
192
193
194
header, nav, footer {
display: block;
}
/* Universal selector = applies to all elements */
* {
box-sizing: border-box;
}
body {
background-color: lightgray;
font-family: Georgia, Times, serif;
}
h1, h2 {
font-family: Georgia, Times, sans-serif;
}
.container {
margin-left: auto;
margin-right: auto;
width: 100%
}
header {
background-color: white;
text-align: center;
padding-top: 2em;
padding-bottom: 1em;
}
/* NAV STARTS */
nav {
background-color: #154184;
text-align: center;
}
/* Removes bullets, margin, and padding */
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
/* Converts li from block (default) to inline */
nav li {
display: inline;
}
/* Style navbar links */
nav a {
color: #ddd;
display: inline-block; /* Inline with width height */
margin-right: -.33em; /* Spacing issue fix */
padding: 1em;
text-decoration: none;
}
nav a:visited {
background-color: antiquewhite;
color: aliceblue;
}
nav a:hover {
background-color: white;
color: #154184;
}
nav a:active {
background-color: aqua;
color: red;
}
nav a:active {
background-color: #16425B;
color: white;
}
/*NAV ENDS*/
/* FIRST BLOCK */
#firstblock {
background-color: #6369D1;
padding: 5em;
overflow: auto;
display: flex;
justify-content: center;
align-items: center;
background-image: url(images/bonepattern.jpg);
}
#firstblock h1 {
color: white;
background-color: #154184;
padding: 1em;
}
#firstblock img {
float: right;
height: 12em;
}
/* FIRST BLOCK END */
/* SECOND BLOCK */
#secondblock {
background-color: white;
padding: 5em;
text-align: center;
}
#secondblock h1 {
padding-bottom: 2em;
padding-top: -1em;
color: #154184;
}
.clearfix::after {
content: "";
clear: both;
display: table;
}
.wordcontainer {
float: left;
width: 33.33%;
padding: 5px;
}
/* SECOND BLOCK END */
/* THIRD BLOCK */
#thirdblock {
padding: 10em;
padding-right: 2em;
background-image: url(images/dogwithbox.jpg);
background-repeat: no-repeat;
background-size: 140%;
background-position: bottom left;
overflow: auto;
}
#thirdblock h1 {
float: right;
padding-left: 10em;
padding-right: 2em;
}
#thirdblock p {
float: right;
padding-right: 3em;
text-align: right;
}
/* FOURTH BLOCK */
#content {
background-color: white;
/* overflow: auto;*/
padding: 3em;
text-align: center;
}
/*
#content::after {
content: "";
clear: both;
display: table;
*/
}
.column {
float: left;
padding: 1em;
/*
*/
}
/* FOURTH BLOCK */
footer {
background-color: #f1f1f1;
text-align: center;
padding: 1em;
clear: both;
}
@media screen and (min-width: 680px) {
.main {
/* width: 67%;*/
}
.sidebar {
float: right;
width: 33%;
}
}
@media screen and (min-width: 980px) {
.container {
width: 960px;
}
}