PhotosAPI/pages/home/style.css
2022-12-22 12:59:50 +01:00

105 lines
2.0 KiB
CSS

@import url('https://fonts.cdnfonts.com/css/google-sans');
/* Material Customization */
:root {
--pure-material-primary-rgb: 255, 191, 0;
--pure-material-onsurface-rgb: 0, 0, 0;
}
body {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background: url("https://res.cloudinary.com/finnhvman/image/upload/v1541930411/pattern.png");
}
.registration {
position: relative;
border-radius: 8px;
padding: 16px 48px 30px 30px;
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
overflow: hidden;
background-color: white;
}
.registration h1 {
margin: 32px 0;
font-family: 'Product Sans', sans-serif;
font-weight: normal;
text-align: center;
}
.registration > label {
display: block;
margin: 24px 0;
width: 320px;
}
p {
font-family: 'Product Sans', sans-serif;
font-weight: normal;
text-align: center;
color: #2b2b2b;
}
a.matter-button-contained {
font-family: 'Product Sans', sans-serif;
text-decoration: none;
}
a {
color: rgb(var(--pure-material-primary-rgb));
font-family: 'Product Sans', sans-serif;
text-decoration: none;
}
a:hover {
text-decoration: none;
}
.matter-button-contained {
margin-top: 10px;
}
@media only screen and (max-width: 980px) {
.registration {
position: fixed;
border-radius: none;
padding: auto;
box-shadow: none;
overflow: visible;
}
.registration {
width: 95%;
height: auto;
}
.registration h1 {
font-size: 64px;
}
body {
background: none;
min-height: 85vh;
}
p {
font-size: 42px;
}
.matter-button-contained {
padding-top: 0.5em;
padding-bottom: 1.3em;
padding-left: 0.65em;
padding-right: 0.65em;
border-radius: 7px;
}
a.matter-button-contained {
font-size: 3.2em;
}
}