-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
96 lines (96 loc) · 1.49 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
body {
background-color: black;
color: white;
margin: auto;
max-width: 1000px;
line-height: 2;
font-family: "Noto Serif KR", serif;
}
img {
margin-bottom: 15px;
}
img.profilePic {
width: 400px;
}
ul,
h2 {
line-height: 1.8;
list-style-type: none;
font-family: "Times New Roman", Times, serif;
}
ul a {
color: white;
text-decoration: none;
}
a {
color: white;
}
h1 {
text-align: center;
padding: 10px;
margin: 0;
}
h1 img {
width: 200px;
}
h3 {
margin-top: 50px;
margin-bottom: 0;
}
.sns i,
.sns img {
font-size: 23px;
line-height: 2.5;
margin-left: 10px;
margin-right: 10px;
}
#active {
color: white;
font-weight: 1000;
font-size: 110%;
line-height: 0.9;
}
#grid {
display: grid;
grid-template-columns: 150px 1fr;
}
#grid ul {
width: 140px;
margin: 0;
padding-left: 20px;
padding-top: 15px;
}
#article {
padding-left: 20px;
padding-right: 20px;
text-align: center;
margin-bottom: 200px;
}
@media (max-width: 800px) or ((hover: none) and (pointer:coarse)) {
#grid {
display: block;
}
#grid ul {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
width: auto;
text-align: center;
padding-bottom: 15px;
padding-top: 5px;
}
#article {
padding-left: 0;
}
#article p {
padding-left: 15px;
padding-right: 15px;
}
h2 {
display: none;
}
}
@media (max-width: 400px) {
h1 img {
width: 35%;
}
}