picture-display/src/pictures/static/pictures/style.css

73 lines
1.5 KiB
CSS
Raw Normal View History

2021-01-24 16:01:36 +01:00
:root {
--max-width: 750px;
2021-01-24 16:31:13 +01:00
--background-1: #ffffff;
--background-2: #e9e9e9;
--background-3: #555555;
--text-color-1: #000000;
--text-color-2: #555555;
2021-01-24 16:46:45 +01:00
--nav-button-size: 70px;
--nav-button-radius: 10px;
2021-01-24 16:01:36 +01:00
}
2021-01-24 15:43:51 +01:00
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
* {
margin: 0;
padding: 0;
}
main {
margin: 1em auto;
2021-01-24 16:01:36 +01:00
max-width: var(--max-width);
2021-01-24 15:43:51 +01:00
}
2021-01-24 16:01:36 +01:00
.message .metadata .name {
2021-01-24 15:43:51 +01:00
font-size: 120%;
}
2021-01-24 16:01:36 +01:00
.message .metadata .date {
2021-01-24 16:31:13 +01:00
color: var(--text-color-2);
2021-01-24 15:43:51 +01:00
}
2021-01-24 16:01:36 +01:00
.message .text {
2021-01-24 15:43:51 +01:00
margin-top: 1em;
}
2021-01-24 16:31:13 +01:00
nav #top-left {
position: fixed;
top: 0;
left: 0;
2021-01-24 16:46:45 +01:00
width: var(--nav-button-size);
height: var(--nav-button-size);
2021-01-24 16:31:13 +01:00
background-color: var(--background-2);
color: black;
2021-01-24 16:46:45 +01:00
font-size: calc(var(--nav-button-size) - 10px);
border-bottom-right-radius: var(--nav-button-radius);
}
nav #bottom-left {
position: fixed;
top: calc(100vh - var(--nav-button-size));
left: 0;
width: var(--nav-button-size);
height: var(--nav-button-size);
background-color: var(--background-2);
color: black;
font-size: calc(var(--nav-button-size) - 10px);
border-top-right-radius: var(--nav-button-radius);
}
nav a {
cursor: pointer;
2021-01-24 18:58:58 +01:00
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
2021-01-24 16:31:13 +01:00
}
nav a i {
2021-01-24 18:58:58 +01:00
display: block;
2021-01-24 16:31:13 +01:00
}