mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-09 16:38:32 +01:00
152 lines
2.2 KiB
CSS
152 lines
2.2 KiB
CSS
/* general */
|
|
body{
|
|
background: #323232;
|
|
}
|
|
|
|
/* ############### TOP NAVBAR ############# */
|
|
.top-spacer{
|
|
|
|
}
|
|
|
|
.top-bar{
|
|
position: fixed;
|
|
background-color: orange;
|
|
padding-bottom: 10px;
|
|
padding-top: 10px;
|
|
padding-left: 10px;
|
|
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.top-button{
|
|
height: 80%;
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
background-color: red;
|
|
|
|
font-weight: bold;
|
|
color: #583535;
|
|
}
|
|
|
|
.disabled {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.input-field{
|
|
float: left;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.input-field-number{
|
|
float: left;
|
|
margin-right: 10px;
|
|
width: 100px;
|
|
}
|
|
|
|
.noPlayerFound{
|
|
background: red;
|
|
float: left;
|
|
width: 180px;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* #################### LEADERBOARDS ##################### */
|
|
.leaderboard-container{
|
|
width: 80%;
|
|
max-width: 800px;
|
|
margin-top: 60px;
|
|
margin-bottom: 50px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
background-color: green;
|
|
}
|
|
|
|
.colum-names{
|
|
width: 100%;
|
|
font-weight: bold;
|
|
background-color: green;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.line-even{
|
|
width: 100%;
|
|
background-color: grey;
|
|
overflow: hidden;
|
|
padding-top: 2px;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.line-odd{
|
|
width: 100%;
|
|
background-color: lightgrey;
|
|
overflow: hidden;
|
|
padding-top: 2px;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.endOfBoardIndicator{
|
|
background: red;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* ############# PLAYER INFORMATION IN LINES ############# */
|
|
.playerRank{
|
|
float: left;
|
|
width: 10%;
|
|
}
|
|
|
|
.playerName{
|
|
float: left;
|
|
width: 30%;
|
|
}
|
|
|
|
.playerRating{
|
|
float: right;
|
|
width: 20%;
|
|
text-align: right;
|
|
}
|
|
|
|
.playerGames{
|
|
float: right;
|
|
width: 20%;
|
|
text-align: right;
|
|
}
|
|
|
|
.playerWinratio{
|
|
float: right;
|
|
width: 20%;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ######################## FOOTER ####################### */
|
|
.footer{
|
|
text-align: center;
|
|
font-weight: bold;
|
|
font-size: 25px;
|
|
position: fixed;
|
|
width: 100%;
|
|
background-color: grey;
|
|
bottom: 0;
|
|
left: 0;
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
.footerLink{
|
|
margin-top: 0;
|
|
padding-top: 0;
|
|
font-size: 12pt;
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
.mid{
|
|
margin-right: 25%;
|
|
margin-left: 25%;
|
|
}
|