-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
129 lines (106 loc) · 2.22 KB
/
style.css
File metadata and controls
129 lines (106 loc) · 2.22 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
117
118
119
120
121
122
123
124
125
126
127
128
129
:root {
--background-color: #ffffff;
--text-color: #444444;
--hover-color: #107FD2;
--pane-padding: 5px 42px;
--card-color: #282828;
--border-color: #EAEAEA;
}
.dark-mode {
--background-color: #211C32;
--text-color: #8372CC;
--hover-color: hotpink;
--card-color: #4D4378;
--border-color: #473c6c;
}
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
transition: background-color 0.3s ease, color 0.3s ease;
}
body {
max-width: 100%;
height: 100vh;
margin: 32px 0px;
background-color: var(--background-color);
color: var(--text-color);
transition: background-color 0.3s, color 0.3s;
display: flex;
flex-direction: column;
align-items: center;
}
.btn {
position: absolute;
top: 20px;
right: 20px;
cursor: pointer;
}
header {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
img {
width: 200px;
height: 200px;
border-radius: 100%;
}
.title {
font-size: 56px;
color: var(--text-color);
text-align: center;
}
.subtitle {
color: var(--text-color);
font-size: 1.25rem;
text-align: center;
}
main {
display: flex;
max-width: 800px;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 24px;
margin: 32px;
}
.card {
display: flex;
justify-content: center;
align-items: center;
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 16px;
width: 360px;
height: 156px;
transition: border-color 0.3s, color 0.3s;
}
.card:hover {
border: 1px solid var(--hover-color);
color: var(--hover-color);
}
.card:hover .card-title,
.card:hover .card-description {
color: var(--hover-color);
}
.card-title {
color: var(--text-color);
}
.card-description {
color: var(--card-color);
margin-top: 16px;
}
a {
text-decoration: none;
}
footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 32px;
font-size: 10px;
}