1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00
maloja/website/maloja.css

119 lines
1.6 KiB
CSS
Raw Normal View History

2018-12-08 02:01:44 +03:00
@import url('https://fonts.googleapis.com/css?family=Ubuntu');
body {
2018-12-16 19:52:13 +03:00
background-color:#333337;
2018-12-08 02:01:44 +03:00
color:beige;
font-family:"Ubuntu";
padding:15px;
}
2018-12-16 19:52:13 +03:00
a {
2018-12-17 18:33:26 +03:00
color:inherit;
2018-12-16 19:52:13 +03:00
text-decoration:none;
}
a:hover {
text-decoration:underline;
}
2018-12-19 17:28:10 +03:00
2018-12-16 19:52:13 +03:00
table.top_info td.image {
padding:20px;
2018-12-17 01:56:30 +03:00
padding-left:0px;
padding-top:0px;
2018-12-16 19:52:13 +03:00
}
2018-12-17 18:33:26 +03:00
table.top_info td.image div {
background-size:cover;
background-position:center;
height:174px;
width:174px
}
2018-12-16 19:52:13 +03:00
table.top_info td.text {
vertical-align: top;
padding-left: 30px;
}
2018-12-17 01:56:30 +03:00
table.top_info td.text h1 {
display:inline;
padding-right:5px;
}
2018-12-22 02:31:27 +03:00
/*
2018-12-17 01:56:30 +03:00
table.top_info td.text .stats {
2018-12-16 19:52:13 +03:00
color:grey;
}
2018-12-22 02:31:27 +03:00
*/
.stats {
color:grey;
}
.rank {
text-align:right;
color:grey;
}
a {
cursor:pointer;
}
2018-12-22 02:31:27 +03:00
table.list {
border-collapse:collapse;
}
table.list tr td {
2018-12-22 02:31:27 +03:00
border-bottom:2px solid;
border-color:rgba(0,0,0,0)
}
table tr:nth-child(even) {
background-color:#37373B;
}
table tr:nth-child(5n) td {
2018-12-22 02:31:27 +03:00
border-color:rgba(120,120,120,0.2);
}
table td.time {
width:200px;
2018-12-22 02:31:27 +03:00
color:gray;
}
2018-12-22 02:31:27 +03:00
table td.artists,td.artist,td.title {
width:350px;
}
2018-12-22 02:31:27 +03:00
table td.amount {
width:50px;
text-align:right;
}
table td.bar {
width:500px;
background-color:#333337;
border-color:rgba(0,0,0,0)!important;
2018-12-22 02:31:27 +03:00
}
table td.bar div {
background-color:beige;
height:20px; /* can only do this absolute apparently */
position:relative;
}
table tr:hover td.bar div {
background-color:yellow;
cursor:pointer;
}
table td.button {
width:200px;
cursor:pointer;
}
table td.button div {
background-color:yellow;
color:#333337;
padding:3px;
border-radius:4px;
}
td.button.important div {
background-color:red;
color:white;
}