-
Notifications
You must be signed in to change notification settings - Fork 0
/
design-system.css
115 lines (98 loc) · 1.73 KB
/
design-system.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
body {
/*theme color variables*/
--primary-color: #fff;
--accent-color: #0077B5;
--highlight-color: #c83df8;
--background-color: #2b2d30;
--background-color-light: #3a3c40;
}
body {
background-color: var(--background-color);
color: var(--primary-color);
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}
.container-xl {
max-width: 1200px;
margin: auto;
height: max-content;
}
.page-title {
font-size: 2.5rem;
font-weight: 700;
margin: 2rem 1rem 1.5rem;
text-align: center;
}
.social-links {
display: flex;
justify-content: center;
align-items: center;
max-width: 100%;
gap: 12px;
margin-bottom: 2rem;
flex-wrap: wrap;
}
.social-link a {
display: inline-block;
min-width: 150px;
max-width: 300px;
margin: 0;
padding: 10px 20px;
color: var(--primary-color);
text-decoration: none;
border-radius: 5px;
font-size: 16px;
}
.social-link {
display: flex;
margin: 0 10px;
justify-content: center;
}
footer {
background-color: var(--background-color-light);
color: var(--primary-color);
text-align: center;
padding: 1rem;
margin-top: auto;
}
@media (max-width: 1200px) {
.container-xl {
max-width: 1000px;
}
.page-title {
font-size: 2rem;
}
}
@media (max-width: 900px) {
.social-links>.social-link {
flex-basis: calc(50% - 50px);
}
.social-link:nth-child(2n) {
justify-content: start;
margin: 0;
marign-left: 20px;
}
.social-link:nth-child(2n+1) {
justify-content: end;
margin: 0 20px 0 0;
}
}
@media (max-width: 750px) {
.page-title {
font-size: 1.2rem;
}
.social-links>.social-link{
flex-basis: 100%;
justify-content: center;
margin: 0;
}
}
@media (max-width: 370px) {
.page-title {
font-size: 1rem;
}
}