File size: 2,518 Bytes
82b1b1d 8214506 0970991 8214506 82b1b1d 8c96555 82b1b1d 8c96555 82b1b1d 736a329 82b1b1d 0970991 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
* {
box-sizing: border-box;
}
:root {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color: #213547;
background-color: #ffffff;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #747bff;
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
}
.card {
padding: 2em;
}
#app {
width: min(900px, 100vw);
min-height: 100vh;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
button {
border-radius: 4px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #e5e5e5;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
main {
display: flex;
flex-direction: column;
gap: 1rem;
width: 100%;
}
label {
display: flex;
flex-flow: row wrap;
align-items: center;
gap: 0.5rem;
text-align: left;
}
label.missing > input {
border: 1px solid red;
}
textarea {
flex-basis: 100%;
}
details > summary {
text-align: left;
}
#inner {
flex: 1;
display: flex;
flex-direction: column;
}
#inner > *:first-child {
min-height: 20ch;
border: 1px solid black;
padding: 0.5rem;
}
.result {
text-align: left;
}
.error {
text-align: left;
font-family: monospace;
color: red;
}
span.word-chip {
background-color: #222222;
color: white;
padding: 2px;
}
span.word-chip.flagged {
background-color: #dd1111;
border: 1px solid black;
}
.result-container {
position: relative;
}
.result-container textarea {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.spinner-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(255, 255, 255, 0.7);
display: flex;
justify-content: center;
align-items: center;
z-index: 10;
}
.spinner {
border: 4px solid #f3f3f3;
border-top: 4px solid #3498db;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
|