This repository was archived by the owner on Aug 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
98 lines (81 loc) · 1.33 KB
/
style.css
File metadata and controls
98 lines (81 loc) · 1.33 KB
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://fonts.cdnfonts.com/css/gt-walsheim');
body {
font-family: 'GT Walsheim', sans-serif;
/* padding: 0 20%; */
margin: 0;
padding: 0 0 48px 0;
background-color: #f1f5f9;
}
body a {
color: rgb(219, 60, 0);
}
#app {
margin-left: auto;
margin-right: auto;
}
@media screen and (min-width: 700px) {
#app {
width: 90%;
}
}
@media screen and (min-width: 1200px) {
#app {
width: 60%;
}
}
#app-header {
margin-bottom: 24px;
background-color: rgb(219, 60, 0);
padding: 12px 24px;
color: #ffffff;
line-height: 50px;
}
#app-header .github-link img {
width: 50px;
height: 50px;
float: right;
}
#app-header a {
text-decoration: none;
color: inherit;
border-radius: 25px;
}
#article-list {
display: flex;
flex-wrap: wrap;
gap: 24px;
}
.card {
padding: 24px 32px;
border: solid 1px #e6e6e6;
border-radius: 25px;
background: white;
}
.card-no-link-style a {
color: inherit;
text-decoration: none;
}
.card:hover {
box-shadow: #cfcfcf 0 0 1rem;
}
.card img {
width: 100%;
}
@media screen and (min-width: 700px) {
.card {
flex: 1 1 calc((100% / 2));
}
}
@media screen and (min-width: 1200px) {
.card {
flex: 1 1 calc((100% / 3));
}
}
@media screen and (min-width: 1900px) {
.card {
flex: 1 1 calc((100% / 4));
}
}
.article-teaser {
width: 100%;
}