mirror of
https://github.com/httpjamesm/launchpad-redirects.git
synced 2024-12-06 19:16:34 +01:00
289 lines
4.8 KiB
CSS
289 lines
4.8 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.7),
|
|
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 a {
|
|
text-decoration: none;
|
|
color: white;
|
|
}
|
|
|
|
.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%;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.hero .container .url-input-field {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
background-color: transparent;
|
|
font-size: 1.1rem;
|
|
color: black;
|
|
outline: none;
|
|
}
|
|
|
|
.hero .container .url-input .icon {
|
|
height: 2rem;
|
|
width: 2rem;
|
|
fill: black;
|
|
color: black;
|
|
}
|
|
|
|
.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: absolute;
|
|
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,
|
|
#bar-info {
|
|
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,
|
|
#bar-info: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;
|
|
max-width: 40rem;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.instances {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
padding-bottom: 3rem;
|
|
}
|
|
|
|
.instances .list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
width: 70rem;
|
|
justify-content: space-evenly;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.instances .list .instance {
|
|
height: 10rem;
|
|
width: 10rem;
|
|
border-radius: 15px;
|
|
background-color: #4b38da;
|
|
padding: 1rem;
|
|
box-sizing: border-box;
|
|
transition-duration: 250ms;
|
|
cursor: pointer;
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
.instances .list .instance:hover {
|
|
border: 2px solid white;
|
|
transform: translateY(-0.5rem);
|
|
}
|
|
|
|
.instances .list a .instance .description {
|
|
display: none;
|
|
transition-duration: 250ms;
|
|
width: fit-content;
|
|
}
|
|
|
|
.instances .list a:hover .instance > .description {
|
|
display: block;
|
|
color: white;
|
|
}
|
|
|
|
.instances .list a:hover .instance .description p {
|
|
margin: 0;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.instances .list a:hover .instance > img {
|
|
display: none;
|
|
}
|
|
|
|
.instances .list .instance img {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
@media only screen and (max-width: 800px) {
|
|
.modal-content {
|
|
min-width: auto;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
code {
|
|
border-radius: 5px;
|
|
color: inherit;
|
|
font-size: 0.9rem;
|
|
font-family: "Fira Code", monospace;
|
|
}
|
|
|
|
.error {
|
|
width: 100%;
|
|
background-color: rgb(255, 153, 153);
|
|
color: black;
|
|
padding: 0.5rem;
|
|
box-sizing: border-box;
|
|
border-radius: 5px;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.error p {
|
|
margin: 0;
|
|
}
|