mirror of
https://github.com/httpjamesm/launchpad-redirects.git
synced 2024-12-06 19:16:34 +01:00
184 lines
3.0 KiB
CSS
184 lines
3.0 KiB
CSS
html,
|
|
body {
|
|
height: 100vh;
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
background-color: black;
|
|
color: white;
|
|
}
|
|
|
|
.hero {
|
|
height: 100%;
|
|
width: 100%;
|
|
background-image: linear-gradient(
|
|
to bottom,
|
|
rgba(0, 0, 0, 0.5),
|
|
rgba(0, 0, 0, 1)
|
|
),
|
|
url("/static/assets/banner.png");
|
|
background-size: cover;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 3rem;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.hero .container {
|
|
width: 30rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.hero .container .title {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
height: 3rem;
|
|
}
|
|
|
|
.hero .container .title img {
|
|
height: 100%;
|
|
}
|
|
|
|
.hero .container form {
|
|
display: contents;
|
|
}
|
|
|
|
.hero .container .url-input {
|
|
margin-top: 2rem;
|
|
background-color: white;
|
|
padding: 1rem;
|
|
box-sizing: border-box;
|
|
border-radius: 10px;
|
|
border: none;
|
|
width: 100%;
|
|
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.hero .container form button {
|
|
background: rgba(74, 39, 218, 1);
|
|
border-radius: 15px;
|
|
padding: 0.75rem;
|
|
padding-left: 2rem;
|
|
padding-right: 2rem;
|
|
box-sizing: border-box;
|
|
color: white;
|
|
border: none;
|
|
font-weight: bold;
|
|
margin-top: 2rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.hero .container form button svg {
|
|
height: 1rem;
|
|
fill: white;
|
|
}
|
|
|
|
.hero .floating-call {
|
|
position: fixed;
|
|
bottom: 0;
|
|
margin-bottom: 1rem;
|
|
width: 100%;
|
|
text-align: center;
|
|
|
|
animation: breathing-bouncing 4s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes breathing-bouncing {
|
|
/* bounce up and down */
|
|
0% {
|
|
transform: translateY(0);
|
|
}
|
|
50% {
|
|
transform: translateY(-0.5rem);
|
|
}
|
|
100% {
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.top-right-icons {
|
|
position: fixed;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
height: 2rem;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.top-right-icons a {
|
|
display: contents;
|
|
text-decoration: none;
|
|
color: white;
|
|
}
|
|
|
|
.top-right-icons a svg {
|
|
fill: white;
|
|
}
|
|
|
|
#attribution-modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 50 !important;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#attribution-modal:target {
|
|
display: flex;
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-header * {
|
|
margin: 0;
|
|
}
|
|
|
|
.modal-header a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.modal-header a svg {
|
|
fill: white;
|
|
height: 1.5rem;
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: #242121;
|
|
padding: 1rem;
|
|
box-sizing: border-box;
|
|
min-width: 25rem;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
@media only screen and (max-width: 800px) {
|
|
.modal-content {
|
|
min-width: auto;
|
|
width: 100%;
|
|
}
|
|
}
|