-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (84 loc) · 1.42 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
body {
font-family: Open Sans, sans-serif;
}
header {
height: 100px;
border-bottom: 1px solid #000;
margin-bottom: 40px;
}
@media (max-width: 768px) {
header {
margin-bottom: 20px;
height: 200px;
}
}
h1 {
text-transform: uppercase;
margin-bottom: 0;
}
@media (max-width: 768px) {
h1 {
font-size: 36px;
}
}
section {
margin: 0 auto;
display: block;
max-width: 1024px;
width: 100%;
}
.card {
display: inline-block;
margin: 10px;
border: 1px solid #000;
vertical-align: top;
max-height: 100%;
}
@media (max-width: 768px) {
.card {
display: block;
margin: 20px 10px;
}
}
.card img {
display: block;
width: 300px;
height: 300px;
}
@media (max-width: 768px) {
.card img {
width: 100%;
height: 100%;
}
.card details {
width: 300px;
height: auto;
display: inline-block;
}
}
@media (max-width: 768px) {
.card details {
width: 100%;
}
}
.card details summary {
font-size: 18px;
padding: 10px;
}
@media (max-width: 768px) {
.card details summary {
font-size: 16px;
}
}
.card details p {
padding: 0 10px;
}
@media (max-width: 768px) {
.card details p {
font-size: 14px;
}
}
.card details blockquote {
color: #777;
font-style: italic;
}