traxxx/public/css/style.css

103 lines
1.3 KiB
CSS
Raw Normal View History

2019-05-08 03:50:13 +00:00
body {
margin: 0;
}
.nolist {
list-style: none;
padding: 0;
margin: 0;
}
.nolist li {
display: inline-block;
}
.scenes {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
list-style: none;
padding: 0;
margin: 0;
}
.scene {
display: flex;
flex-direction: column;
box-sizing: border-box;
margin: .5rem;
height: 22rem;
box-shadow: 0 0 3px rgba(0, 0, 0, .5);
}
.scene-thumbnail {
width: 100%;
height: 200px;
object-fit: cover;
background-position: center;
background-size: cover;
}
.scene-row {
display: flex;
justify-content: space-between;
padding: .25rem .5rem;
}
.scene-info {
flex-grow: 1;
}
.scene-link {
text-decoration: none;
}
.scene-title {
color: #000;
margin: 0;
font-size: 1rem;
}
.scene-site {
font-weight: bold;
font-size: .8rem;
}
.scene-date {
color: #555;
font-size: .8rem;
}
.scene-network {
color: #555;
margin: 0 .25rem 0 0;
font-size: .8rem;
}
.scene-tags {
white-space: nowrap;
overflow: hidden;
}
.scene-actor,
.scene-tag {
margin: 0 .25rem 0 0;
}
.scene-tag {
font-size: .75rem;
}
.scene-actor:not(:last-of-type)::after,
.scene-tag:not(:last-of-type):after {
content: ",";
}
.site-link {
color: #000;
}
.actor-link,
.tag-link {
color: #000;
}