init
This commit is contained in:
0
app/assets/images/.keep
Normal file
0
app/assets/images/.keep
Normal file
BIN
app/assets/images/leaderboardbg.webp
Normal file
BIN
app/assets/images/leaderboardbg.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 349 KiB |
120
app/assets/stylesheets/application.css
Normal file
120
app/assets/stylesheets/application.css
Normal file
@ -0,0 +1,120 @@
|
||||
/*
|
||||
* This is a manifest file that'll be compiled into application.css.
|
||||
*
|
||||
* With Propshaft, assets are served efficiently without preprocessing steps. You can still include
|
||||
* application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
|
||||
* cascading order, meaning styles declared later in the document or manifest will override earlier ones,
|
||||
* depending on specificity.
|
||||
*
|
||||
* Consider organizing styles into separate files for maintainability.
|
||||
*/
|
||||
|
||||
body {
|
||||
font-family: Inconsolata, Helvetica, Arial;
|
||||
font-size: 1em;
|
||||
line-height: 20px;
|
||||
font-weight: 400;
|
||||
color: #3b3b3b;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
background: #2b2b2b;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 580px) {
|
||||
body {
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
margin: 0 auto;
|
||||
padding: 40px;
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.table {
|
||||
margin: 0 0 40px 0;
|
||||
width: 100%;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
||||
display: table;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 580px) {
|
||||
.table {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.row {
|
||||
display: table-row;
|
||||
background: #f6f6f6;
|
||||
}
|
||||
|
||||
.row:nth-of-type(odd) {
|
||||
background: #e9e9e9;
|
||||
}
|
||||
|
||||
.row.header {
|
||||
font-weight: 900;
|
||||
color: #ffffff;
|
||||
background: #2980b9;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 580px) {
|
||||
.row {
|
||||
padding: 14px 0 7px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.row.header {
|
||||
padding: 0;
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
.row.header .cell {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.row .cell {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.row .cell:before {
|
||||
margin-bottom: 3px;
|
||||
content: attr(data-title);
|
||||
min-width: 98px;
|
||||
font-size: 10px;
|
||||
line-height: 10px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
color: #969696;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.cell {
|
||||
padding: 6px 12px;
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 580px) {
|
||||
.cell {
|
||||
padding: 2px 16px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #ebdbd2;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #458588;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #b16286;
|
||||
}
|
Reference in New Issue
Block a user