Browse Source

Meta data style improvement

master
parent
commit
af4a31dcde
  1. 4
      theme/static/css/main.css
  2. 23
      theme/static/css/media.css

4
theme/static/css/main.css

@ -49,6 +49,10 @@ footer {
font-size: .8rem;
}
footer p {
margin: .5rem 0;
}
nav ul {
list-style: none;
margin: 0;

23
theme/static/css/media.css

@ -27,11 +27,14 @@ main {
.img-container img {
max-width: 100%;
max-height: calc(100vh - 10rem);
display: block;
margin: auto;
}
.meta {
display: flex;
width: 100%;
margin-top: .5rem;
}
.meta div {
@ -72,7 +75,6 @@ main {
padding: 0 0.5rem;
}
.overlay-nav.previous {
left: 0;
}
@ -106,4 +108,23 @@ main {
main {
width: 100%;
}
.meta {
flex-direction: column;
}
.meta > div {
text-align: center;
}
.meta dl {
margin: .5rem;
display: grid;
grid-template-columns: auto 1fr;
}
.meta dt {
margin-left: 0;
margin-right: 1.5rem;
}
}

Loading…
Cancel
Save