Last change
on this file since 49 was 48, checked in by yakumo.izuru, 20 months ago |
Reorganized the codebase, add support for flag modus operandi
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
2.6 KB
|
Rev | Line | |
---|
[48] | 1 | .center {
|
---|
| 2 | text-align: center;
|
---|
| 3 | }
|
---|
| 4 |
|
---|
| 5 | .wrap {
|
---|
| 6 | display: flex;
|
---|
| 7 | flex-wrap: wrap;
|
---|
| 8 | justify-content: center;
|
---|
| 9 | }
|
---|
| 10 |
|
---|
| 11 | .wrap.languages {
|
---|
| 12 | flex-wrap: nowrap;
|
---|
| 13 | margin-bottom: 20px;
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | #could_not_switch_languages_text {
|
---|
| 17 | color: red;
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | .item {
|
---|
| 21 | width: 100%;
|
---|
| 22 | height: 150px;
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | .item-wrapper {
|
---|
| 26 | display: flex;
|
---|
| 27 | flex-wrap: wrap;
|
---|
| 28 | justify-content: center;
|
---|
| 29 | width: 450px;
|
---|
| 30 | margin: 5px 10px;
|
---|
| 31 | gap: 10px;
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 | .language,
|
---|
| 36 | .switch_languages {
|
---|
| 37 | display: flex;
|
---|
| 38 | }
|
---|
| 39 |
|
---|
| 40 | .language {
|
---|
| 41 | margin: 0px 10px;
|
---|
| 42 | }
|
---|
| 43 |
|
---|
| 44 | .switch_languages {
|
---|
| 45 | margin: 0px 5px;
|
---|
| 46 | }
|
---|
| 47 |
|
---|
| 48 | #switchbutton {
|
---|
| 49 | white-space: nowrap;
|
---|
| 50 | }
|
---|
| 51 |
|
---|
| 52 | button {
|
---|
| 53 | font-size: 1rem;
|
---|
| 54 | padding: 4px 10px;
|
---|
| 55 | border: 2px solid #888888;
|
---|
| 56 | }
|
---|
| 57 |
|
---|
| 58 | input,
|
---|
| 59 | select,
|
---|
| 60 | textarea {
|
---|
| 61 | width: 100%;
|
---|
| 62 | font-size: 1rem;
|
---|
| 63 | padding: 4px;
|
---|
| 64 | border: 2px solid #888888;
|
---|
| 65 | }
|
---|
| 66 |
|
---|
| 67 | textarea {
|
---|
| 68 | resize: vertical;
|
---|
| 69 | height: 5rem;
|
---|
| 70 | font-family: sans-serif;
|
---|
| 71 |
|
---|
| 72 | /* Stretch to form width */
|
---|
| 73 | width: 100%;
|
---|
| 74 | }
|
---|
| 75 |
|
---|
| 76 | input:focus,
|
---|
| 77 | select:focus,
|
---|
| 78 | textarea:focus,
|
---|
| 79 | button:focus {
|
---|
| 80 | border-color: #478061;
|
---|
| 81 | outline: 1px solid #478061;
|
---|
| 82 | }
|
---|
| 83 |
|
---|
| 84 |
|
---|
| 85 | body {
|
---|
| 86 | justify-content: center;
|
---|
| 87 | font-family: sans-serif;
|
---|
| 88 | }
|
---|
| 89 |
|
---|
| 90 | #definitions_and_translations {
|
---|
| 91 | display: grid;
|
---|
| 92 | margin: auto;
|
---|
| 93 | width: 1100px;
|
---|
| 94 | gap: 10px;
|
---|
| 95 | grid-template-areas: "definitions translations";
|
---|
| 96 |
|
---|
| 97 | }
|
---|
| 98 |
|
---|
| 99 | .def_type {
|
---|
| 100 | color: #007979;
|
---|
| 101 | text-transform: capitalize;
|
---|
| 102 | }
|
---|
| 103 |
|
---|
| 104 | .syn {
|
---|
| 105 | color: #804700;
|
---|
| 106 | }
|
---|
| 107 |
|
---|
| 108 | .syn_type {
|
---|
| 109 | color: #007979;
|
---|
| 110 | }
|
---|
| 111 |
|
---|
| 112 | .use_in_sentence {
|
---|
| 113 | color: #009902;
|
---|
| 114 | }
|
---|
| 115 |
|
---|
| 116 | .definitions li:not(:last-child) {
|
---|
| 117 | margin-bottom: 1rem;
|
---|
| 118 | }
|
---|
| 119 |
|
---|
| 120 | @media screen and (max-width: 1200px) {
|
---|
| 121 | #definitions_and_translations {
|
---|
| 122 | display: grid;
|
---|
| 123 | width: 90vw;
|
---|
| 124 | grid-template-areas:
|
---|
| 125 | "definitions definitions"
|
---|
| 126 | "translations translations";
|
---|
| 127 | }
|
---|
| 128 | }
|
---|
| 129 |
|
---|
| 130 |
|
---|
| 131 | div.definitions {
|
---|
| 132 | grid-area: definitions;
|
---|
| 133 | }
|
---|
| 134 |
|
---|
| 135 | div.translations {
|
---|
| 136 | grid-area: translations;
|
---|
| 137 | }
|
---|
| 138 |
|
---|
| 139 | a {
|
---|
| 140 | text-decoration: none;
|
---|
| 141 | }
|
---|
| 142 |
|
---|
| 143 | @media screen and (prefers-color-scheme: dark) {
|
---|
| 144 | body {
|
---|
| 145 | background-color: #212529;
|
---|
| 146 | color: #f8f9fa;
|
---|
| 147 | }
|
---|
| 148 |
|
---|
| 149 | #could_not_switch_languages_text {
|
---|
| 150 | color: #F13333;
|
---|
| 151 | }
|
---|
| 152 |
|
---|
| 153 | a:visited {
|
---|
| 154 | color: #9759f6;
|
---|
| 155 | text-decoration: none;
|
---|
| 156 | }
|
---|
| 157 |
|
---|
| 158 | a {
|
---|
| 159 | color: #599bf6;
|
---|
| 160 | text-decoration: none;
|
---|
| 161 | }
|
---|
| 162 |
|
---|
| 163 | input,
|
---|
| 164 | select,
|
---|
| 165 | button,
|
---|
| 166 | textarea {
|
---|
| 167 | background-color: #131618;
|
---|
| 168 | border-color: #495057;
|
---|
| 169 | color: #f8f9fa;
|
---|
| 170 | }
|
---|
| 171 |
|
---|
| 172 | .def_type {
|
---|
| 173 | color: cyan;
|
---|
| 174 | text-transform: capitalize;
|
---|
| 175 | }
|
---|
| 176 |
|
---|
| 177 | .syn {
|
---|
| 178 | color: burlywood;
|
---|
| 179 | }
|
---|
| 180 |
|
---|
| 181 | .syn_type {
|
---|
| 182 | color: cyan;
|
---|
| 183 | }
|
---|
| 184 |
|
---|
| 185 | .use_in_sentence {
|
---|
| 186 | color: yellow;
|
---|
| 187 | }
|
---|
| 188 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.