-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathintro-css.css
98 lines (80 loc) · 1.79 KB
/
intro-css.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
body {
font-family: "Trebuchet MS", Helvetica, sans-serif;
background: url(http://www.awwcute.org/wp-content/uploads/2013/03/WKIHo7t.jpg);
-webkit-background-size: auto, auto;
-moz-background-size: auto, auto;
-o-background-size: auto, auto;
background-size: auto, auto;
/* -webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;*/
-webkit-background-size: contain;
-moz-background-size: contain;
-o-background-size: contain;
background-size: contain;
}
#title { /*Use # for id; id is used for just special instances, typicaly one time use.*/
color: white;
font-size: 2.6em;
}
.restaurant-group { /*Use . for class; class is for multiple usage.*/
background-color: rgba(114,92,68,0.6);
margin: 10px;
padding: 10px 10px 20px 10px;
border-radius: 10px;
}
.restaurant-group h2 {
text-transform: uppercase;
color: #d7c2af;
}
.restaurant-group h3 {
color: #FFF;
font-weight: normal;
font-style: italic;
}
a {
text-decoration: none;
background-color: blue;
color: white;
padding: 10px;
border-radius: 1000px;
border: 2px solid #000084;
}
a:hover {
background-color: #555;
padding: 15px;
}
p {
font-size: 1.2em; /*em is relative, this line makes the font size 120% larger than the default, a preferred method*/
font-family: Helvetica, Arial, sans-serif;
font-weight: 100; /*Can be 100-900*/
color: #d7c2af;
line-height: 125%;
letter-spacing: 2px;
text-align: center;
}
div.play {
height: 50px;
width: 100px;
border: 1px solid black;
border-radius: 10px;
display: inline-block;
}
#one {
background-color: red;
}
#two {
background-color: purple;
}
#three {
background-color: blue;
}
#four {
background-color: green;
display: none;
}
img {
float: left;
width: 12%;
}