-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylesheet.css
More file actions
66 lines (59 loc) · 1.15 KB
/
stylesheet.css
File metadata and controls
66 lines (59 loc) · 1.15 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
body {
padding: 10px 30px;
margin: 0;
}
li {
float: left;
text-decoration: none;
background-color: white;
display: inline-block;
overflow: auto;
text-transform: uppercase;
}
li a:hover {
color: black;
background-color: white;
}
ul {
list-style-type: none;
padding: 0;
margin: 0;
overflow: hidden;
background-color:white;
text-decoration: none;
color: black;
text-align: center;
font-family: 'Oswald', sans-serif;
}
.image {
display: inline;
padding: 2px;
width: 1000px;
padding: 10px;
}
.banner {
background-image: url(https://s3.amazonaws.com/codecademy-content/courses/ltp/img/lodging.png);
background-repeat: no-repeat;
height: 500px;
width: 100%;
background-size: auto;
padding: 0;
margin: 0;
position: relative;
}
.right {
float: right;
display: block;
}
div h1 {
position: absolute;
top: 40%;
color: white;
padding-left: 20px;
}
div p {
position: absolute;
top: 50%;
padding-left: 15px;
color: white;
}