forked from DebaucheryLibrarian/traxxx
Using grid layout with thumbnails.
This commit is contained in:
102
public/css/style.css
Normal file
102
public/css/style.css
Normal file
@@ -0,0 +1,102 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user