aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/css/Games.css
blob: 2fe5efaf242f95a81bcffb82282abf559b67e0ed (plain) (blame)
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
141
142
143
144
145
146
147
.games-page {
    position: absolute;
    left: 320px;
    color: white;
    width: calc(100% - 320px);
    height: 100%;
    font-family: BarlowSemiCondensed-Regular;
    color: #ffffff;
    overflow-y: scroll;
    scrollbar-width: thin;
}

.games-page-item-content {
    position: absolute;
    left: 50px;
    width: calc(100% - 100px);
}

.games-page-item-content a {
    color: inherit;
}

.games-page-header {
    margin-top: 50px;
    margin-left: 50px;
}

span>b {
    font-size: 56px;
    font-family: BarlowCondensed-Bold;
}

.loader-game {
    width: 100%;
    height: 256px;
    border-radius: 24px;
    overflow: hidden;
    margin: 25px 0px;
}

.games-page-item {
    width: 100%;
    height: 256px;
    background: #202232;
    border-radius: 24px;
    overflow: hidden;
    margin: 25px 0px;
}

.games-page-item-header {
    width: 100%;
    height: 50%;
    background-size: cover;
    overflow: hidden;
}

.games-page-item-header-img {
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    filter: blur(4px);
    background-size: cover;
}

.games-page-item-header span>b {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transform: translateY(-100%);
}

.games-page-item-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50%;
}

.games-page-item-body-item {
    background: #2B2E46;
    text-align: center;
    width: max-content;
    width: calc(100% - 24px);
    height: 100px;
    border-radius: 24px;
    color: #CDCFDF;
    margin: 12px;
}

.games-page-item-body-item-title {
    margin-top: 0px;
    font-size: 26px;
}

.games-page-item-body-item-num {
    font-size: 50px;
    font-family: BarlowCondensed-Bold;
}

@media screen and (max-width: 768px) {
    .games-page {
        left: 0;
        width: 100%;
        padding-top: 60px;
    }

    .games-page-item-content {
        left: 20px;
        width: calc(100% - 40px);
    }

    .games-page-header {
        margin-top: 20px;
        margin-left: 20px;
    }

    span>b {
        font-size: 40px;
    }

    .games-page-item {
        height: auto;
        min-height: 200px;
    }

    .games-page-item-header {
        height: 120px;
    }

    .games-page-item-body {
        height: auto;
        padding: 10px 0;
    }

    .games-page-item-body-item {
        height: 80px;
    }

    .games-page-item-body-item-title {
        font-size: 20px;
    }

    .games-page-item-body-item-num {
        font-size: 36px;
    }
}