synapse-templates/style.css

76 lines
1.4 KiB
CSS
Raw Permalink Normal View History

2023-07-30 21:47:21 +02:00
html {
height: 100%;
}
body {
2023-07-30 22:34:58 +02:00
align-items: center;
2023-07-30 22:31:36 +02:00
background: rgb(255, 255, 230);
2023-07-30 22:34:58 +02:00
color: rgb(50, 50, 50);
display: flex;
flex-direction: column;
2023-07-30 22:31:36 +02:00
font-family: 'Lucida Console', 'Courier New', monospace;
2023-07-30 22:34:58 +02:00
hyphens: auto;
line-height: 1.8;
margin: 0;
margin: auto;
2023-07-30 21:47:21 +02:00
}
.mx_Header {
2023-07-30 22:31:36 +02:00
background-blend-mode: initial;
2023-07-30 22:34:58 +02:00
background-color: rgb(250, 220, 120);
2023-07-30 22:31:36 +02:00
background-image: url(https://cozy.town/home-header-optimized.svg);
background-position: center;
background-size: cover;
display: flex;
flex-direction: column;
height: 40vh;
justify-content: center;
2023-07-30 21:47:21 +02:00
text-align: center;
2023-07-30 22:45:42 +02:00
width: 100%;
2023-07-30 21:47:21 +02:00
}
2023-07-30 22:34:58 +02:00
.mx_Main {
2023-07-30 22:45:42 +02:00
background-color: rgb(250, 220, 120);
border-radius: 10px;
margin: 0px auto;
2023-07-30 22:48:00 +02:00
max-width: 899px;
2023-07-30 22:45:42 +02:00
padding: 40px;
2023-07-30 22:48:00 +02:00
position: relative;
top: -30px;
width: calc(100% - 4rem);
2023-07-30 22:45:42 +02:00
}
button {
background: rgb(255, 255, 230);
border-radius: 5px;
border: 0;
2023-07-30 22:48:00 +02:00
box-shadow: rgba(0,0,0,0.1) 5px 5px 0px 0px;
display: flex;
2023-07-30 22:45:42 +02:00
font-size: medium;
2023-07-30 22:48:00 +02:00
font-weight: bold;
margin: auto;
padding: 10px 14px;
transition: box-shadow .15s ease, transform .15s ease;
cursor: pointer;
2023-07-30 22:45:42 +02:00
}
button:hover {
box-shadow: rgba(0,0,0,0.1) 2.5px 2.5px 0px 0px;
transform: translate(2.5px, 2.5px);
2023-07-30 22:34:58 +02:00
}
2023-07-30 21:47:21 +02:00
@media screen and (max-width: 1120px) {
body {
font-size: 20px;
}
h1 { font-size: 1rem; }
h2 { font-size: .9rem; }
h3 { font-size: .85rem; }
h4 { font-size: .8rem; }
}
.error {
color: red;
}