aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/pages/home.css
diff options
context:
space:
mode:
authorWolfboy248 <121288977+Wolfboy248@users.noreply.github.com>2024-07-10 21:51:25 +0200
committerGitHub <noreply@github.com>2024-07-10 22:51:25 +0300
commitcfac59282da55f4791d6352f15887a15e9ff6ec5 (patch)
treebf8cea62f60f9239073a9cf82648d69d1e6b6a1c /frontend/src/components/pages/home.css
parentfeat: return portal counts for each cat in chapter select (#175) (diff)
downloadlphub-cfac59282da55f4791d6352f15887a15e9ff6ec5.tar.gz
lphub-cfac59282da55f4791d6352f15887a15e9ff6ec5.tar.bz2
lphub-cfac59282da55f4791d6352f15887a15e9ff6ec5.zip
Games page, maplist page (#153)
Co-authored-by: Wolfboy248 <105884620+Wolfboy248@users.noreply.github.com>
Diffstat (limited to 'frontend/src/components/pages/home.css')
-rw-r--r--frontend/src/components/pages/home.css90
1 files changed, 90 insertions, 0 deletions
diff --git a/frontend/src/components/pages/home.css b/frontend/src/components/pages/home.css
new file mode 100644
index 0000000..072b12b
--- /dev/null
+++ b/frontend/src/components/pages/home.css
@@ -0,0 +1,90 @@
1* {
2 scrollbar-width: thin;
3}
4
5.homepage-panel {
6 background-color: #202232;
7 margin: 10px 10px;
8 padding: 10px;
9 border-radius: 24px;
10 overflow: hidden;
11 flex: 1 1 100%;
12 align-items: stretch;
13 width: 100%;
14}
15
16.homepage-panel-title-div {
17 background-color: #2B2E46;
18 width: fit-content;
19 padding: 5px 18px;
20 border-radius: 200px;
21 font-family: BarlowSemiCondensed-SemiBold;
22 font-size: 32px;
23 margin-bottom: 10px;
24}
25
26.stats-div {
27 background-color: #2B2E46;
28 border-radius: 24px;
29 text-align: center;
30 display: grid;
31 padding: 10px 0px;
32 width: 100%;
33}
34
35.stats-div span {
36 font-family: BarlowSemiCondensed-Regular;
37 font-size: 18px;
38}
39
40.stats-div span>b {
41 font-family: BarlowSemiCondensed-SemiBold;
42 font-size: 42px;
43}
44
45.record-title div {
46 --padding: 20px;
47 width: calc(100% - calc(var(--padding * 2)));
48 height: 32px;
49 border-radius: 200px;
50 font-size: 18px;
51 display: grid;
52 grid-template-columns: calc(20% - 3.6px) calc(25% - 4.5px) calc(15% - 2.7px) calc(15% - 2.7px) calc(25% - 4.5px);
53 text-align: center;
54 padding: 0px var(--padding);
55 vertical-align: middle;
56 align-items: center;
57 font-family: BarlowSemiCondensed-SemiBold;
58}
59
60.record-title::after {
61 content: "";
62 display: flex;
63 width: 100%;
64 height: 3px;
65 background-color: #2B2E46;
66 margin-bottom: 5px;
67}
68
69.recommended-map-img {
70 width: 250px;
71 border-radius: 24px;
72 margin-bottom: 0;
73 border: 7px solid #2B2E46;
74}
75
76.difficulty-bar-home {
77 width: 100%;
78 display: grid;
79 grid-template-columns: 20% 20% 20% 20% 20%;
80 align-items: center;
81 margin: 5px;
82 margin-top: 16px;
83}
84
85.difficulty-point {
86 background: #2B2E46;
87 height: 3px;
88 margin: 5px;
89 border-radius: 10px;
90}