blob: 456585bce4ad2ca72f1a6cdda21bd468d6935903 [file] [log] [blame]
Andreuae44f202019-09-23 23:15:56 +02001body {
2 background-image: url('https://images.unsplash.com/photo-1428196457394-f0c4aec5f574?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80');
3 background-size: cover;
4}
5
6header {
7 margin-top: 25px;
8 margin-bottom: 100px;
9 font-family: 'Open Sans';
10 display: block;
11}
12
13header a {
14 font-size: 40px;
15 text-decoration: none;
16}
17
18header #leftlinks {
19 padding-left: 20px;
20 float: left;
21}
22
23header #rightlinks {
24 margin-right: 20px;
25 float: right;
26}
27
28div#outter-container {
29 width: 95%;
30 margin: 32px auto;
31}
32
Andreu2211ab22019-09-23 18:13:26 +020033#inner-container {
34 background-color: white;
Andreuae44f202019-09-23 23:15:56 +020035 padding: 25px;
Andreu2211ab22019-09-23 18:13:26 +020036}
37
38p {
39 font-size: 16px;
40 text-align: justify;
Andreuae44f202019-09-23 23:15:56 +020041 display: none;
42 width: 95%;
43 margin: auto;
44 margin-bottom: 25px;
45}
46
47#table-container {
48 overflow: scroll;
49}
50
51div#table-container {
52 display: inline-block;
53 width: 100%;
54 margin: 0 auto;
Andreu2211ab22019-09-23 18:13:26 +020055}
56
57table#ranking {
Andreuae44f202019-09-23 23:15:56 +020058 font-size: 48px;
Andreu2211ab22019-09-23 18:13:26 +020059 text-align: center;
Andreu2211ab22019-09-23 18:13:26 +020060 font-family: 'Open Sans';
Andreu779c3b72019-09-24 03:14:35 +020061 margin: 25px auto;
62 width: 95%;
Andreu2211ab22019-09-23 18:13:26 +020063}
64
65table#ranking td {
Andreuae44f202019-09-23 23:15:56 +020066 padding: 15px;
67 height: 50px;
68
69 max-width: 400px;
70 text-overflow: ellipsis;
71 white-space: nowrap;
72 overflow: hidden;
73}
74
75td div.username {
76 font-size: 40px;
77}
78
79td div.userinfo {
80 font-size: 36px;
81 color: rgb(100,100,100);
82}
83
84td.name {
85 text-align: left;
86}
87
88tr#header th {
89 text-align: center;
90 padding-top: 10px;
91 padding-bottom: 10px;
Andreu2211ab22019-09-23 18:13:26 +020092}
93
94tr.gold {
95 background-color: rgba(255, 225, 0, 0.3);
96}
97
98tr.silver {
99 background-color: rgba(200, 200, 200, 0.3);
100}
101
102tr.bronze {
103 background-color: rgba(200, 125, 50, 0.3);
104}
105
106tr.me {
107 background-color: rgba(50, 50, 255, 0.3);
108}
109
110tr.top3 td:first-child::before {
111 content: '';
Andreuae44f202019-09-23 23:15:56 +0200112 background-size: 48px 48px;
113 width: 48px;
114 height: 48px;
Andreu2211ab22019-09-23 18:13:26 +0200115 float: left;
116 position: relative;
117 top: 0px;
118 left: 5px;
119}
120
121tr.gold td:first-child::before {
122 background-image: url('../bin/images/first.png');
123}
124
125
126tr.silver td:first-child::before {
127 background-image: url('../bin/images/second.png');
128}
129
130
131tr.bronze td:first-child::before {
132 background-image: url('../bin/images/third.png');
133}