mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2026-01-09 19:29:34 +01:00
236 lines
No EOL
4.7 KiB
CSS
236 lines
No EOL
4.7 KiB
CSS
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
padding: 20px 20px 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: linear-gradient( 135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)), #131516;
|
|
color: #cccccc;
|
|
backdrop-filter: blur(18px) saturate(120%);
|
|
-webkit-backdrop-filter: blur(18px) saturate(120%);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
body::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
main {
|
|
flex: 1;
|
|
/* keep footer at the bottom */
|
|
}
|
|
|
|
a {
|
|
color: #cccccc;
|
|
}
|
|
|
|
a:hover {
|
|
color: #9b4cda;
|
|
text-decoration: none;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
a.no-link-color {
|
|
color: #cccccc;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: unset;
|
|
}
|
|
|
|
.email:hover {
|
|
color: black;
|
|
background-color: #9b4cda;
|
|
}
|
|
|
|
iframe {
|
|
background-color: #1D2021;
|
|
color: white;
|
|
width: 80%;
|
|
height: 60vh;
|
|
margin: 2rem auto;
|
|
display: block;
|
|
border: none;
|
|
border-radius: 30px;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: .3rem solid #9b4dca;
|
|
}
|
|
|
|
blockquote.warning {
|
|
border-left: .3rem solid #ca5414;
|
|
}
|
|
|
|
text-muted {
|
|
color: gray;
|
|
}
|
|
|
|
.footer {
|
|
text-align: center
|
|
}
|
|
|
|
.footer-two {
|
|
margin-top: -2rem
|
|
}
|
|
|
|
.action-links {
|
|
float: right;
|
|
justify-content: flex-end;
|
|
/* aligns all links to the right */
|
|
flex-wrap: nowrap;
|
|
/* ensures they stay in one line */
|
|
text-align: right;
|
|
}
|
|
|
|
.action-links a {
|
|
display: inline-block;
|
|
margin-bottom: 0.5rem;
|
|
padding: 10px 16px;
|
|
border-radius: 16px;
|
|
text-align: center;
|
|
background: rgba(155, 77, 202, 0.2);
|
|
border: 1px solid rgba(155, 77, 202, 0.35);
|
|
color: #fff;
|
|
text-decoration: none;
|
|
backdrop-filter: blur(12px) saturate(120%);
|
|
-webkit-backdrop-filter: blur(12px) saturate(120%);
|
|
box-shadow: 0 5px 15px rgba(155, 77, 202, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
transition: transform 0.2s ease, background 0.2s ease;
|
|
}
|
|
|
|
.action-links a:hover {
|
|
background: rgba(155, 77, 202, 0.3);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 20px rgba(155, 77, 202, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
|
|
/* Reset apple form styles */
|
|
|
|
input,
|
|
textarea,
|
|
select,
|
|
select:active,
|
|
select:focus,
|
|
select:hover {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
border-radius: 0;
|
|
background-image: none;
|
|
}
|
|
|
|
#login {
|
|
padding-top: 15vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 600px;
|
|
margin: auto;
|
|
background: linear-gradient( 135deg, rgba(155, 77, 202, 0.12), rgba(155, 77, 202, 0.04)), rgba(255, 255, 255, 0.04);
|
|
backdrop-filter: blur(20px) saturate(125%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(125%);
|
|
border-radius: 22px;
|
|
border: 1px solid rgba(155, 77, 202, 0.25);
|
|
padding: 40px 36px;
|
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(155, 77, 202, 0.08) inset;
|
|
}
|
|
|
|
#login h1,
|
|
#login h4 {
|
|
text-align: center;
|
|
}
|
|
|
|
#login h4 {
|
|
margin-bottom: 6rem;
|
|
}
|
|
|
|
#login fieldset {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#login fieldset label {
|
|
position: relative;
|
|
top: 12px;
|
|
left: 12px;
|
|
width: fit-content;
|
|
line-height: 1;
|
|
padding: 0 6px;
|
|
font-size: 1.4rem;
|
|
background: linear-gradient( 135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)), #131516;
|
|
z-index: 999;
|
|
}
|
|
|
|
#login input[type="text"],
|
|
#login select {
|
|
border-radius: 0.4rem;
|
|
color: #cccccc;
|
|
font-size: 1.6rem;
|
|
height: 4.2rem;
|
|
padding: 0 1.4rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
#login select option {
|
|
background-color: #131516;
|
|
color: #cccccc;
|
|
}
|
|
|
|
#login .dropdown {
|
|
position: relative;
|
|
border-radius: 0.4rem;
|
|
}
|
|
|
|
#login .dropdown::before {
|
|
position: absolute;
|
|
content: "\2193";
|
|
top: 15%;
|
|
right: 12px;
|
|
}
|
|
|
|
#login .buttons {
|
|
display: flex;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
/* keeps them aligned right like action-links */
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
#login .buttons>* {
|
|
flex: 1 1 auto;
|
|
min-width: 120px;
|
|
border-radius: 20px;
|
|
color: #fff;
|
|
background: rgba(155, 77, 202, 0.2);
|
|
border: 1px solid rgba(155, 77, 202, 0.35);
|
|
backdrop-filter: blur(12px) saturate(120%);
|
|
-webkit-backdrop-filter: blur(12px) saturate(120%);
|
|
box-shadow: 0 8px 20px rgba(155, 77, 202, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
cursor: pointer;
|
|
transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
#login .buttons>*:hover {
|
|
background: rgba(155, 77, 202, 0.3);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 12px 25px rgba(155, 77, 202, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.mail_attachments {
|
|
width: 80%;
|
|
padding-left: 10%
|
|
}
|
|
|
|
label {
|
|
display: inline;
|
|
} |