-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (88 loc) · 1.46 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
@import url("http://meyerweb.com/eric/tools/css/reset/reset.css");
@import url("https://fonts.googleapis.com/css?family=Indie+Flower%7COpen+Sans");
body {
color: #333;
background-color: #eee;
font-family: "Open Sans";
}
input, label {
display: block;
width: 100%;
}
label {
font-style: italic;
margin-bottom: 0.25rem;
}
input {
margin-bottom: 1rem;
font-size: 2rem;
border: none;
}
a {
text-decoration: none;
color: #333;
}
header {
background-color: #4db36f;
padding: 1rem;
box-shadow: 0 1px 1px #999;
}
header h1 {
font-size: 2rem;
color: #fff;
font-family: "Indie Flower";
}
main {
padding: 3rem;
position: relative;
min-height: calc(100vh - 208px);
}
main h2 {
font-size: 2rem;
font-weight: 700;
margin-top: 0.5rem;
margin-bottom: 1rem;
}
footer {
padding: 1rem;
background-color: #333;
color: #eee;
}
.dogs {
display: flex;
flex-flow: row wrap;
}
.dog-listing {
max-width: 30rem;
margin: 1rem;
box-shadow: 2px 2px 2px #999;
transition: all 0.2s;
}
.dog-listing:hover {
transform: scale(1.03);
}
.dog-listing h3 {
font-weight: 700;
font-size: 1.2rem;
margin-bottom: 0.5rem;
background-color: #6f4db3;
padding: 1rem;
color: #eee;
}
.dog-listing figure {
margin-right: 1rem;
padding: 1rem;
}
.dog-listing figure img {
max-width: 160px;
}
.dog-listing figure figcaption {
font-style: italic;
}
.dog-listing section {
display: flex;
}
.dog-listing p {
padding: 1rem;
line-height: 1.5;
}