Snootalogue/wwwroot/css/style.css

129 lines
1.9 KiB
CSS
Raw Normal View History

2020-09-16 01:43:55 +00:00
body {
font-family: sans-serif;
margin: 0;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 200;
2020-09-16 02:14:31 +00:00
text-align: center;
2020-09-16 01:43:55 +00:00
}
2020-09-16 02:14:31 +00:00
.centred {
margin: 0 auto;
width: max-content;
text-align: center;
2020-09-16 01:43:55 +00:00
}
2020-09-16 02:14:31 +00:00
a {
text-decoration: none;
2020-09-16 01:43:55 +00:00
}
2020-09-16 02:14:31 +00:00
a.button {
2020-09-16 01:43:55 +00:00
color: #a66;
background: white;
border: thin #a66 solid;
2020-09-16 02:14:31 +00:00
border-radius: 5px;
2020-09-16 01:43:55 +00:00
padding: 5px;
text-align: center;
transition: 0.2s all;
}
2020-09-16 02:14:31 +00:00
a.button:hover {
2020-09-16 01:43:55 +00:00
background: #a66;
color: white;
}
2020-09-16 02:14:31 +00:00
a.button.block {
display: inline-block;
margin: 5px auto;
}
.vertical-buttons {
display: flex;
flex-direction: column;
}
.vertical-buttons a.button {
flex: 1;
border-bottom: none;
border-radius: 0;
}
2020-09-16 01:43:55 +00:00
.vertical-buttons a.button:first-child {
border-radius: 5px 5px 0 0;
}
.vertical-buttons a.button:last-child {
border-bottom: thin #a66 solid;
border-radius: 0 0 5px 5px;
}
nav {
padding: 20px 15px;
background: #a00;
color: white;
display: flex;
justify-content: space-between;
}
#nav-links {
font-size: 1.4em;
}
#nav-links, #nav-search {
margin: auto 0;
}
main {
padding: 20px;
}
.documents {
display: flex;
flex-direction: column;
}
.document {
display: flex;
flex: 1;
flex-direction: row;
margin: 10px;
}
.document-column {
width: 10%;
}
.document-column.left {
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.document-column.centre {
width: 80%;
}
.document-column.right ul {
list-style: none;
padding: 0;
}
.document-column.centre div {
margin: 3px 0;
}
.document-column .title {
2020-09-16 02:14:31 +00:00
font-size: 1.4em;
font-weight: 200;
2020-09-16 01:43:55 +00:00
text-align: center;
}
.document-column .authors {
text-align: center;
2020-09-16 02:14:31 +00:00
font-style: italic;
2020-09-16 01:43:55 +00:00
}
.document-column .tags {
font-size: 0.8em;
}
2020-09-16 02:14:31 +00:00
.document-column .tags .list-empty::before,
.document-details .tags .list-empty::before {
2020-09-16 01:43:55 +00:00
display: inline-block;
content: "No tags";
}
.document-column .metadata {
font-size: 0.8em;
color: #888;
}
2020-09-16 02:14:31 +00:00
.document-details {
margin: 10px auto;
width: min-content;
}