Andy Janco
commited on
Commit
•
382f42b
1
Parent(s):
54cc41f
Create new file
Browse files
style.css
ADDED
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.card {
|
2 |
+
text-align: center;
|
3 |
+
border-radius: 10px;
|
4 |
+
background: linear-gradient(
|
5 |
+
90deg,
|
6 |
+
rgba(77, 241, 241, 1) 0%,
|
7 |
+
rgba(82, 124, 230, 1) 43%,
|
8 |
+
rgba(219, 0, 132, 1) 100%
|
9 |
+
);
|
10 |
+
margin-top: 15%;
|
11 |
+
margin-bottom: 5%;
|
12 |
+
padding-top: 15%;
|
13 |
+
padding-bottom: 5%;
|
14 |
+
justify-content: center;
|
15 |
+
}
|
16 |
+
|
17 |
+
.card:hover {
|
18 |
+
transform: scale(1.1);
|
19 |
+
}
|
20 |
+
|
21 |
+
.card_text {
|
22 |
+
text-align: center;
|
23 |
+
color: white;
|
24 |
+
}
|
25 |
+
|
26 |
+
.label {
|
27 |
+
padding: 1%;
|
28 |
+
font-weight: bold;
|
29 |
+
}
|
30 |
+
|
31 |
+
.demo_card {
|
32 |
+
text-align: center;
|
33 |
+
border-radius: 10px;
|
34 |
+
background: rgb(53, 145, 53);
|
35 |
+
margin-top: 11%;
|
36 |
+
margin-bottom: 5%;
|
37 |
+
margin-right: 40%;
|
38 |
+
padding-top: 5%;
|
39 |
+
padding-bottom: 5%;
|
40 |
+
font-weight: bold;
|
41 |
+
font-size: 80%;
|
42 |
+
color: white;
|
43 |
+
justify-content: center;
|
44 |
+
}
|
45 |
+
|
46 |
+
.demo_card:hover {
|
47 |
+
transform: scale(1.1);
|
48 |
+
}
|
49 |
+
|
50 |
+
.rank {
|
51 |
+
border-style: solid;
|
52 |
+
border-width: 2px;
|
53 |
+
border-radius: 5px;
|
54 |
+
border-color: #0c0c0e;
|
55 |
+
padding: 1%;
|
56 |
+
font-weight: bold;
|
57 |
+
}
|
58 |
+
|
59 |
+
.header {
|
60 |
+
margin-bottom: 5%;
|
61 |
+
}
|
62 |
+
|
63 |
+
.text {
|
64 |
+
display: inline;
|
65 |
+
}
|
66 |
+
|
67 |
+
.text p:empty {
|
68 |
+
display: inline;
|
69 |
+
line-height: 2;
|
70 |
+
}
|
71 |
+
|
72 |
+
.text_mark {
|
73 |
+
background-color: green;
|
74 |
+
color: white;
|
75 |
+
padding: 0.5%;
|
76 |
+
border-radius: 5px;
|
77 |
+
text-align: center;
|
78 |
+
display: inline-flex;
|
79 |
+
font-weight: bold;
|
80 |
+
}
|
81 |
+
|
82 |
+
.text_mark:hover {
|
83 |
+
transform: scale(1.1);
|
84 |
+
}
|
85 |
+
|
86 |
+
.text_mark:before {
|
87 |
+
content: attr(data-text);
|
88 |
+
position: absolute;
|
89 |
+
width: 200%;
|
90 |
+
|
91 |
+
/* position tooltip correctly */
|
92 |
+
left: 100%;
|
93 |
+
margin-left: 5px;
|
94 |
+
|
95 |
+
/* vertically center */
|
96 |
+
top: 50%;
|
97 |
+
transform: translateY(-50%);
|
98 |
+
|
99 |
+
padding: 5%;
|
100 |
+
border-radius: 5px;
|
101 |
+
background: rgb(35, 34, 36);
|
102 |
+
text-align: center;
|
103 |
+
font-weight: normal;
|
104 |
+
font-size: 65%;
|
105 |
+
display: none;
|
106 |
+
}
|
107 |
+
|
108 |
+
.text_mark:hover:before {
|
109 |
+
display: block;
|
110 |
+
}
|
111 |
+
|
112 |
+
.answer_container {
|
113 |
+
font-weight: bold;
|
114 |
+
margin-top: 5%;
|
115 |
+
}
|
116 |
+
|
117 |
+
.answer {
|
118 |
+
background-color: rgb(38, 38, 44);
|
119 |
+
color: white;
|
120 |
+
padding: 0.5%;
|
121 |
+
border-radius: 5px;
|
122 |
+
text-align: center;
|
123 |
+
display: inline-flex;
|
124 |
+
margin: 1.5%;
|
125 |
+
font-weight: bold;
|
126 |
+
}
|
127 |
+
|
128 |
+
.answer:hover {
|
129 |
+
transform: scale(1.05);
|
130 |
+
}
|
131 |
+
|
132 |
+
.answer_mark {
|
133 |
+
background-color: rgb(38, 38, 44);
|
134 |
+
color: white;
|
135 |
+
padding: 1.5%;
|
136 |
+
border-radius: 5px;
|
137 |
+
display: inline;
|
138 |
+
text-align: center;
|
139 |
+
font-weight: bold;
|
140 |
+
}
|