-
Notifications
You must be signed in to change notification settings - Fork 0
/
basic.css
117 lines (91 loc) · 1.45 KB
/
basic.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
/* ================================
Recipe example - basic style
================================ */
body {
background-color: #FCC8C3;
margin: 0;
padding: 3%;
font: 16px/1.5 "Lucida Grande", helvetica, arial, sans-serif;
}
a {
color: #F0A39B;
text-decoration: none;
transition: all 0.3s ease-in-out 0s;
}
a:hover {
color: #F05B4B;
}
h1 {
display: none;
}
h2 {
border-bottom: 1px solid #DDDDDD;
padding-bottom: .2em;
}
img {
width: 100%;
}
#container {
width: 600px;
margin: 0 auto;
}
.recipe {
padding: 3%;
background-color: #fff;
}
.recipe .title {
margin: 0 0 .5em 0;
font-size: 36px;
}
.recipe figure {
width: 400px;
margin: 20px auto;
}
.recipe img {
border: 1px solid #FCC8C3;
}
.recipe figcaption {
color: #aaa;
font-size: 11px;
font-style: italic;
}
.recipe .meta dt,
.recipe .meta dd {
display: inline;
}
.recipe .meta dd {
clear: right;
margin: 0 10px 0 0;
font-weight: bold;
}
.recipe footer p {
font-size: 14px;
font-style: italic;
color: #999;
}
.recipe footer .note {
color: #aaa;
font-size: 11px;
}
aside {
background-color: #FCE1DD;
text-align: center;
padding: 5%;
}
aside .title {
border-bottom: 1px solid #FC9A84;
}
aside .related-list {
list-style-type: none;
margin: 0 auto;
padding: 0;
width: 250px;
}
aside .related-list li {
margin: 10% 0;
}
aside .related-list img {
border: 1px solid #BDBAA7;
background-color: #fff;
padding: 5px;
}