@@ -11,14 +11,14 @@ body {
11
11
background : # 222 ;
12
12
text-align : center;
13
13
font-family : "Roboto Mono" ;
14
- padding : 1em ;
15
14
}
16
15
17
16
h1 {
18
17
font-size : 2.2em ;
18
+ text-align : center;
19
19
}
20
- .results {
21
- margin-block : 4rem ;
20
+ .results {
21
+ margin-block : 4rem ;
22
22
}
23
23
.flip {
24
24
position : relative;
35
35
position : relative;
36
36
}
37
37
38
- .flip > .front ::after {
39
- content : '' ;
40
- position : absolute;
41
- inset : 0 ;
42
- background-color : rgba (0 , 0 , 0 , 0.3 );
43
- z-index : -1 ;
44
- border-radius : 10px ;
38
+ .flip > .front ::after {
39
+ content : "" ;
40
+ position : absolute;
41
+ inset : 0 ;
42
+ background-color : rgba (0 , 0 , 0 , 0.3 );
43
+ z-index : -1 ;
44
+ border-radius : 10px ;
45
45
}
46
46
.flip > .back {
47
47
position : absolute;
65
65
display : inline-block;
66
66
margin-right : 2px ;
67
67
margin-bottom : 1em ;
68
- width : 400px ;
68
+ width : min ( 95 % , 400px ) ;
69
69
}
70
70
.flip > .front ,
71
71
.flip > .back {
72
72
display : block;
73
73
color : white;
74
- width : inherit;
75
74
background-size : cover !important ;
76
75
background-position : center !important ;
77
76
height : 220px ;
78
- padding : 1em 2em ;
79
77
background : # 313131 ;
80
78
border-radius : 10px ;
81
- display : flex!important ;
79
+ display : flex !important ;
82
80
justify-content : center;
83
81
align-items : center;
84
82
flex-direction : column;
93
91
-webkit-line-clamp : 6 ;
94
92
-webkit-box-orient : vertical;
95
93
}
94
+ .flip > .back p {
95
+ padding-inline : 1rem ;
96
+ }
96
97
97
- .back > a {
98
- color : rgb (198 , 198 , 198 );
99
- margin-top : 1.5rem ;
98
+ .back > a {
99
+ color : rgb (198 , 198 , 198 );
100
+ margin-top : 1.5rem ;
100
101
}
101
- .back > a : hover {
102
- color : rgb (240 , 240 , 240 );
102
+ .back > a : hover {
103
+ color : rgb (240 , 240 , 240 );
103
104
}
104
105
105
-
106
106
.text-shadow {
107
107
text-shadow : 1px 1px rgba (0 , 0 , 0 , 0.04 ), 2px 2px rgba (0 , 0 , 0 , 0.04 ),
108
108
3px 3px rgba (0 , 0 , 0 , 0.04 ), 4px 4px rgba (0 , 0 , 0 , 0.04 ),
@@ -116,23 +116,24 @@ h1 {
116
116
19px 19px rgba (0 , 0 , 0 , 0.04 ), 1.25rem 1.25rem rgba (0 , 0 , 0 , 0.04 );
117
117
}
118
118
119
-
120
- .grid-container {
121
- display : grid;
122
- grid-template-columns : 1fr 1fr 1fr ;
123
- margin-inline : 5% ;
124
- gap : 1rem ;
125
- place-items : center;
119
+ .grid-container {
120
+ display : grid;
121
+ grid-template-columns : 1fr 1fr 1fr ;
122
+ gap : 1rem ;
123
+ place-items : center;
126
124
}
127
125
128
- @media only screen and (max-width : 1500px ){
129
- .grid-container {
126
+ @media only screen and (max-width : 1500px ) {
127
+ .grid-container {
130
128
grid-template-columns : 1fr 1fr ;
131
129
}
132
130
}
133
131
134
- @media only screen and (max-width : 930px ){
135
- .grid-container {
136
- grid-template-columns : 1fr !important ;
132
+ @media only screen and (max-width : 930px ) {
133
+ .grid-container {
134
+ grid-template-columns : 1fr !important ;
137
135
}
138
- }
136
+ .flip > .front > h1 {
137
+ font-size : 1.8rem ;
138
+ }
139
+ }
0 commit comments