-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
140 lines (121 loc) · 2.01 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/* font */
@font-face {
font-family: 'Space Mono';
src: url('SpaceMono-Regular.woff') format('woff'),
}
/* reasonable box model */
*,
*::before,
*::after {
box-sizing: border-box;
font-family: 'Space Mono', monospace;
/* no text selection */
user-select: none;
}
/* remove default margin */
* {
margin: 0;
}
/* allow percentage-based heights in the application */
html,
body {
height: 100%;
background-color: #fffff0;
}
/* add accessible line-height and improve text rendering */
body {
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
/* improve media defaults */
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
/* remove built-in form typography styles */
input,
button,
textarea,
select {
font: inherit;
}
/* avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
/* blend difference text */
/* color: #fff;
mix-blend-mode: difference; */
}
/* hide scrollbar */
* {
-ms-overflow-style: none; /* for Internet Explorer, Edge */
scrollbar-width: none; /* for Firefox */
/* overflow-y: scroll; */
}
*::-webkit-scrollbar {
display: none; /* for Chrome, Safari, and Opera */
}
/* create a root stacking context (optional for frameworks) */
/* #root,
#__next {
isolation: isolate;
} */
body {
text-align: center;
}
main {
padding: 3vh 0;
display: flex;
flex-direction: column;
align-items: center;
}
img {
width: 100px;
/* notice that padding and border-radius may conflict */
border-radius: 50%;
border: 1px solid black;
}
h1 {
font-size: medium;
}
img,
h1,
p,
li,
p {
margin-bottom: 10px;
}
ul {
list-style-type: none;
margin-block-start: 0;
margin-block-end: 0;
padding-inline-start: 0;
}
li {
width: 50vw;
max-width: 600px;
min-width: 300px;
border: 2px solid #f0f0f0;
margin-top: 15px;
padding: 10px 0;
border-radius: 10px;
transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
}
li:hover {
cursor: pointer;
border: 2px solid black;
}
a {
color: black;
text-decoration: underline;
}