-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
executable file
·119 lines (93 loc) · 1.72 KB
/
style.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
117
118
119
@import url('https://fonts.googleapis.com/css?family=Space+Mono');
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,400i,700');
html {
margin: 0;
padding: 0;
/*font-family: "Space Mono", monospace;*/
font-family: "Merriweather", sans-serif;
color: #333;
background: rgba(202, 226, 216, 0.71);
}
body {
margin: 0;
padding: 0;
}
header,
main {
padding: 1em;
}
.header-title {
margin: 0;
font-size: 3.4em;
text-align: center;
}
.header-subtitle {
margin: 0;
font-size: 2.1em;
font-style: italic;
text-align: center;
color: rgb(156, 180, 170);
}
.recipe-list {
margin: 0;
padding: 0;
list-style: none;
}
.recipe-list-item {
margin: 0 0 2em 0;
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid;
}
.recipe-list-item--link {
display: block;
font-size: 1em;
font-style: italic;
font-weight: normal;
text-decoration: none;
}
.recipe-list-item--link:hover .recipe-list-item--title {
color: seagreen;
}
.recipe-list-item--link:hover .recipe-list-item--image {
transform: scale(1.3,1.3);
}
.recipe-list-item--figure {
margin: 0;
padding: 0;
overflow: hidden;
min-height: 100px;
background-color: rgb(196, 220, 210);
}
.recipe-list-item--image {
display: block;
max-width: 100%;
height: auto;
transition: all 0.2s cubic-bezier(1,0,0,1);
}
.recipe-list-item--title {
color: #333;
border: none;
transition: all 0.3s ease-out;
}
@media (min-width: 40em) {
header,
main {
padding: 2em;
}
.recipe-list {
column-count: 2;
}
.recipe-list-item--link {
}
}
@media (min-width: 64em) {
.recipe-list {
column-count: 3;
}
}
@media (min-width: 80em) {
.recipe-list {
column-count: 5;
}
}