126 lines
1.9 KiB
CSS
126 lines
1.9 KiB
CSS
body {
|
|
background-color: #EFE9DD;
|
|
text-align: center;
|
|
font-family: sans-serif;
|
|
}
|
|
* {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
h1 {
|
|
opacity: 0.7;
|
|
}
|
|
p, summary, i {
|
|
opacity: 0.5;
|
|
font-size: 0.85rem;
|
|
}
|
|
p {
|
|
margin: 1rem auto;
|
|
max-width: 400px;
|
|
}
|
|
summary {
|
|
margin: 0.5rem auto;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
summary:focus {
|
|
outline: none;
|
|
opacity: 0.7;
|
|
}
|
|
.icon {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
position: relative;
|
|
top: 0.25rem;
|
|
padding-right: 0.15rem;
|
|
}
|
|
|
|
input, textarea {
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
|
transition: all 150ms;
|
|
font-size: 1rem;
|
|
}
|
|
textarea {
|
|
resize: vertical;
|
|
font-family: sans-serif;
|
|
font-size: 0.75rem;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
box-sizing: border-box;
|
|
}
|
|
input:focus, textarea:focus {
|
|
outline: none;
|
|
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/* Used for copying to clipboard */
|
|
#copy-input {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
button {
|
|
background-color: inherit;
|
|
border: none;
|
|
opacity: 0.5;
|
|
cursor: pointer;
|
|
transition: all 150ms;
|
|
}
|
|
button:hover, button:focus {
|
|
opacity: 1;
|
|
outline: none;
|
|
}
|
|
|
|
button.primary {
|
|
background-color: #1DAA61;
|
|
color: white;
|
|
border: none;
|
|
padding: 0.5rem 2rem;
|
|
border-radius: 4px;
|
|
opacity: 1;
|
|
}
|
|
button.primary:active {
|
|
background-color: #18864D;
|
|
}
|
|
button.primary:focus {
|
|
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#send {
|
|
margin: 0.25rem 0;
|
|
margin-top: 2rem;
|
|
}
|
|
#copy-link {
|
|
margin-bottom: 2rem;
|
|
}
|
|
#add-to-home-screen {
|
|
background-color: white;
|
|
padding: 0.5rem 1rem;
|
|
margin: auto 2rem;
|
|
margin-top: 2rem;
|
|
border-radius: 4px;
|
|
max-width: 400px;
|
|
display: none; /* Shown through JS */
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 0.85rem;
|
|
color: #757575;
|
|
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
|
|
}
|
|
#desc {
|
|
margin-top: 2rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
#share {
|
|
margin-top: 2rem;
|
|
}
|
|
#or-share-using {
|
|
font-size: 0.75rem;
|
|
font-style: italic;
|
|
margin: 0.5rem auto;
|
|
margin-top: 0.75rem;
|
|
opacity: 0.3;
|
|
}
|
|
|