172 lines
2.6 KiB
CSS
172 lines
2.6 KiB
CSS
:root {
|
|
--main-bg-color: #e5f0fc;
|
|
--fg-color: #449dfc;
|
|
|
|
--space-small: 4px;
|
|
--space-medium: 8px;
|
|
--space-large: 12px;
|
|
|
|
--hover-low: 4px 4px 4px gray;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Ariel', sans-serif;
|
|
background-color: var(--main-bg-color);
|
|
}
|
|
|
|
.card {
|
|
border: 1px solid black;
|
|
border-radius: 5px;
|
|
box-shadow: var(--hover-low);
|
|
margin: var(--space-large);
|
|
padding: var(--space-medium);
|
|
|
|
}
|
|
|
|
.authentication-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 200px;
|
|
}
|
|
|
|
.authentication-form {
|
|
}
|
|
|
|
.authentication-form__label {
|
|
margin: var(--space-small);
|
|
}
|
|
|
|
.authentication-form__input {
|
|
margin: var(--space-small);
|
|
}
|
|
|
|
.gallery-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.upload-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.upload-form__selector {
|
|
margin: var(--space-small);
|
|
}
|
|
|
|
.upload-form__button {
|
|
margin: var(--space-small);
|
|
}
|
|
|
|
.gallery {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.thumbnail {
|
|
width: 300px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.thumbnail__image {
|
|
max-width: 100%;
|
|
border: none;
|
|
}
|
|
|
|
/*
|
|
[type="submit"] {
|
|
border-radius: 1em;
|
|
margin: 1em;
|
|
padding: 1em;
|
|
}
|
|
|
|
.uploadform {
|
|
}
|
|
*/
|
|
|
|
/*
|
|
[type="file"] {
|
|
border: 0;
|
|
clip: rect(0, 0, 0, 0);
|
|
height: 1px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: absolute !important;
|
|
white-space: nowrap;
|
|
width: 1px;
|
|
}
|
|
|
|
[type="file"] + label {
|
|
background-color: rgb(0, 86, 112);
|
|
border-radius: 1em;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
padding: 1em;
|
|
margin: 1em;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
[type="file"]:focus + label,
|
|
[type="file"] + label:hover {
|
|
background-color: #67b0ff;
|
|
}
|
|
|
|
[type="file"]:focus + label {
|
|
outline: 1px dotted #000;
|
|
outline: -webkit-focus-ring-color auto 5px;
|
|
}
|
|
*/
|
|
|
|
@media screen and (max-width: 1080px) { /* This is the screen width of a OnePlus 8 */
|
|
body {
|
|
font-size: xx-large;
|
|
}
|
|
|
|
.authentication-form {
|
|
width: 100%;
|
|
}
|
|
|
|
.upload-form__selector {
|
|
font-size: larger;
|
|
}
|
|
|
|
.upload-form__button {
|
|
font-size: larger;
|
|
}
|
|
|
|
.thumbnail {
|
|
width: 100%;
|
|
}
|
|
|
|
/*
|
|
[type="submit"] {
|
|
font-size: xx-large;
|
|
width: 100%;
|
|
}
|
|
|
|
.uploadform {
|
|
display: flex;
|
|
}
|
|
|
|
[type="file"] + label {
|
|
width: 100%;
|
|
}
|
|
|
|
.thumbnail {
|
|
max-width: 100%;
|
|
margin: 1em;
|
|
}
|
|
|
|
.file {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
*/
|
|
}
|