-
Notifications
You must be signed in to change notification settings - Fork 100
/
Copy pathstyle2.css
55 lines (44 loc) · 1.04 KB
/
style2.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
@import url("https://fonts.googleapis.com/css?family=Bungee+Inline|Oswald");
/* Use the 'Oswald' font family at 14px throughout the body of the document. */
body {
width: 900px;
margin: 10px auto;
}
nav {
font-family: sans-serif;
font-size: 10px;
}
/* Use the 'Bungee Inline' font at 46px and lighter weight for the restaurant name. */
main {
columns: 420px 2;
column-gap: 60px;
}
section {
margin-bottom: 20px;
padding: 10px;
}
/* Show each of the section headings of the menu (e.g. "Starters") in uppercase. */
h2 {
margin-top: 0;
}
/* Make the name of each menu item appear in bold in a 16px size. */
dt {
display: inline;
}
/* Make a comma appear after the name of each menu item (before the description) */
dd {
display: inline;
margin: 0;
}
dd::after {
content: " ";
display: block;
clear: both;
margin-bottom: 15px;
}
.price {
float: right;
padding: 0 0 35px 20px;
}
/* Right-align the text of the address/footer */
/* draw a 2px solid black border around the starters and desserts sections of the menu */