This repository was archived by the owner on Feb 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
116 lines (98 loc) · 1.7 KB
/
style.css
File metadata and controls
116 lines (98 loc) · 1.7 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
* {
box-sizing: border-box;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
&:hover{
color: #535bf2;
}
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
}
#app {
width: 100%;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
.wrapper{
position: relative;
display: flex;
align-items: center;
width: 200px;
height: 200px;
margin: 50px auto;
border: 1px solid white;
&.wrapper--ghost{
position: absolute;
}
}
.frame{
display: flex;
align-items: center;
overflow: hidden;
}
.slider{
position: relative;
display: flex;
gap: 20px;
align-items: center;
margin-left: 60px;
div{
width: 80px;
height: 80px;
border: 1px solid #646fff;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
border-radius: 5px;
font-weight: bold;
font-size: 1.5em;
user-select: none;
}
&.slider-ghost{
position: absolute;
div{
cursor: pointer;
opacity: 0.5;
transition: opacity 0.5s ease-out;
&:hover{
opacity: 1;
}
}
}
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
.card {
background-color: #f9f9f9;
}
}