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

319 lines
3.7 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;
}
2019-02-02 18:54:01 +03:00
/*
**
**
** TOP INFO TABLE
**
**
*/
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-26 19:42:55 +03:00
p.desc a {
padding-left:20px;
background-repeat:no-repeat;
background-size:contain;
background-position:left;
background-image:url("https://www.last.fm/static/images/lastfm_avatar_twitter.66cd2c48ce03.png");
}
2019-02-02 18:54:01 +03:00
2018-12-22 02:31:27 +03:00
/*
2019-02-02 18:54:01 +03:00
**
**
** SPECIAL TEXT BITS
**
**
2018-12-22 02:31:27 +03:00
*/
2019-02-02 18:54:01 +03:00
2018-12-22 02:31:27 +03:00
.stats {
color:grey;
}
.rank {
text-align:right;
color:grey;
}
.extra {
color:gray; /*sue me*/
font-size:80%;
}
a {
cursor:pointer;
}
2018-12-22 02:31:27 +03:00
2019-02-02 18:54:01 +03:00
/*
**
**
** LISTS
**
**
*/
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)
}
2018-12-28 20:06:09 +03:00
table.list tr:nth-child(even) {
background-color:#37373B;
}
2018-12-28 20:06:09 +03:00
table.list tr:nth-child(5n) td {
2018-12-22 02:31:27 +03:00
border-color:rgba(120,120,120,0.2);
}
2018-12-28 20:06:09 +03:00
table.list tr:hover {
background-color:#404044;
}
table td.time {
2018-12-28 20:06:09 +03:00
width:180px;
2018-12-22 02:31:27 +03:00
color:gray;
}
2018-12-28 20:06:09 +03:00
table td.icon {
2019-02-03 18:52:37 +03:00
/*width:20px!important;
height:20px;
background-size:cover;
background-position:center;
padding-right:6px;*/
padding:0px;
2019-02-03 19:36:21 +03:00
padding-right:5px;
2019-02-03 18:52:37 +03:00
}
table td.icon div {
2018-12-28 20:06:09 +03:00
width:20px;
height:20px;
background-size:cover;
background-position:center;
}
2018-12-22 02:31:27 +03:00
table td.artists,td.artist,td.title {
2019-02-03 19:36:21 +03:00
/*width:500px;*/
min-width:100px;
padding-right:15px;
2018-12-23 01:19:52 +03:00
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
/*
table td.artists div {
overflow:hidden;
z-index:1;
position:relative;
}
table tr td.artists div span {
//text-overflow:ellipsis;
z-index:-2;
position:relative;
white-space:nowrap;
}
table tr:hover td.artists div span {
animation: bounce 3s linear infinite alternate;
}
2018-12-23 01:19:52 +03:00
@keyframes bounce {
0% {
}
100% {
//transform: translateX(-60px);
//margin-left:-60px;
margin-left:-100%;
}
}
**/
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;
}
2019-02-02 18:54:01 +03:00
/*
**
**
** IMAGE TILES
**
**
*/
table.tiles_top td {
padding:0px;
border:0px;
}
2019-02-02 22:51:04 +03:00
table.tiles_top:hover td td {
2019-02-02 20:54:06 +03:00
opacity:0.2;
}
2019-02-02 22:51:04 +03:00
table.tiles_top:hover td td:hover {
2019-02-02 20:54:06 +03:00
opacity:1;
}
2019-02-02 18:54:01 +03:00
table.tiles_top, table.tiles_sub {
border-collapse: collapse;
}
table.tiles_top>tbody>tr>td {
height:300px;
width:300px;
}
table.tiles_sub {
height:100%;
width:100%;
}
2019-02-02 20:54:06 +03:00
table.tiles_top td {
2019-02-02 18:54:01 +03:00
background-size:cover;
background-position:center;
2019-02-02 20:54:06 +03:00
vertical-align:bottom;
}
table.tiles_top td span {
background-color:rgba(0,0,0,0.7);
2019-02-02 18:54:01 +03:00
}
2019-02-02 22:51:04 +03:00
table.tiles_1x1 td {
height:100%;
width:100%;
font-size:100%
}
2019-02-02 18:54:01 +03:00
table.tiles_2x2 td {
height:50%;
width:50%;
font-size:90%
}
table.tiles_3x3 td {
height:33.333%;
width:33.333%;
font-size:70%
}
2019-02-03 18:52:37 +03:00
/*
**
**
** SIDE LIST ON START PAGE
**
**
*/
@media (min-width: 1600px) {
2019-02-03 18:52:37 +03:00
div.sidelist {
position:absolute;
right:0px;
top:0px;
width:40%;
height:100%;
background-color:#444447;
padding-left:30px;
}
}