[51] | 1 | body {
|
---|
| 2 | background-color: #ffffff;
|
---|
| 3 | color: rgb(206, 147, 191);
|
---|
| 4 | }
|
---|
| 5 | a {
|
---|
| 6 | color: rgb(206, 147, 191);
|
---|
| 7 | }
|
---|
| 8 | a:visited {
|
---|
| 9 | color: rgb(206, 147, 191);
|
---|
| 10 | }
|
---|
[48] | 11 | .center {
|
---|
| 12 | text-align: center;
|
---|
| 13 | }
|
---|
| 14 | .wrap {
|
---|
| 15 | display: flex;
|
---|
| 16 | flex-wrap: wrap;
|
---|
| 17 | justify-content: center;
|
---|
| 18 | }
|
---|
| 19 | .wrap.languages {
|
---|
| 20 | flex-wrap: nowrap;
|
---|
| 21 | margin-bottom: 20px;
|
---|
| 22 | }
|
---|
| 23 | #could_not_switch_languages_text {
|
---|
| 24 | color: red;
|
---|
| 25 | }
|
---|
| 26 | .item {
|
---|
| 27 | width: 100%;
|
---|
| 28 | height: 150px;
|
---|
| 29 | }
|
---|
| 30 | .item-wrapper {
|
---|
| 31 | display: flex;
|
---|
| 32 | flex-wrap: wrap;
|
---|
| 33 | justify-content: center;
|
---|
| 34 | width: 450px;
|
---|
| 35 | margin: 5px 10px;
|
---|
| 36 | gap: 10px;
|
---|
| 37 | }
|
---|
| 38 | .language,
|
---|
| 39 | .switch_languages {
|
---|
| 40 | display: flex;
|
---|
| 41 | }
|
---|
| 42 | .language {
|
---|
| 43 | margin: 0px 10px;
|
---|
| 44 | }
|
---|
| 45 | .switch_languages {
|
---|
| 46 | margin: 0px 5px;
|
---|
| 47 | }
|
---|
| 48 | #switchbutton {
|
---|
| 49 | white-space: nowrap;
|
---|
| 50 | }
|
---|
| 51 | button {
|
---|
| 52 | font-size: 1rem;
|
---|
| 53 | padding: 4px 10px;
|
---|
| 54 | border: 2px solid #888888;
|
---|
| 55 | }
|
---|
| 56 | input,
|
---|
| 57 | select,
|
---|
| 58 | textarea {
|
---|
| 59 | width: 100%;
|
---|
| 60 | font-size: 1rem;
|
---|
| 61 | padding: 4px;
|
---|
| 62 | border: 2px solid #888888;
|
---|
| 63 | }
|
---|
| 64 | textarea {
|
---|
| 65 | resize: vertical;
|
---|
| 66 | height: 5rem;
|
---|
| 67 | font-family: sans-serif;
|
---|
| 68 |
|
---|
| 69 | /* Stretch to form width */
|
---|
| 70 | width: 100%;
|
---|
| 71 | }
|
---|
| 72 | input:focus,
|
---|
| 73 | select:focus,
|
---|
| 74 | textarea:focus,
|
---|
| 75 | button:focus {
|
---|
| 76 | border-color: #478061;
|
---|
| 77 | outline: 1px solid #478061;
|
---|
| 78 | }
|
---|
| 79 |
|
---|
| 80 |
|
---|
| 81 | body {
|
---|
| 82 | justify-content: center;
|
---|
| 83 | font-family: sans-serif;
|
---|
| 84 | }
|
---|
| 85 |
|
---|
| 86 | #definitions_and_translations {
|
---|
| 87 | display: grid;
|
---|
| 88 | margin: auto;
|
---|
| 89 | width: 1100px;
|
---|
| 90 | gap: 10px;
|
---|
| 91 | grid-template-areas: "definitions translations";
|
---|
| 92 |
|
---|
| 93 | }
|
---|
| 94 | .def_type {
|
---|
| 95 | color: #007979;
|
---|
| 96 | text-transform: capitalize;
|
---|
| 97 | }
|
---|
| 98 |
|
---|
| 99 | .syn {
|
---|
| 100 | color: #804700;
|
---|
| 101 | }
|
---|
| 102 | .syn_type {
|
---|
| 103 | color: #007979;
|
---|
| 104 | }
|
---|
| 105 | .use_in_sentence {
|
---|
| 106 | color: #009902;
|
---|
| 107 | }
|
---|
| 108 | .definitions li:not(:last-child) {
|
---|
| 109 | margin-bottom: 1rem;
|
---|
| 110 | }
|
---|
| 111 | @media screen and (max-width: 1200px) {
|
---|
| 112 | #definitions_and_translations {
|
---|
[51] | 113 | display: grid;
|
---|
| 114 | width: 90vw;
|
---|
| 115 | grid-template-areas:
|
---|
| 116 | "definitions definitions"
|
---|
| 117 | "translations translations";
|
---|
[48] | 118 | }
|
---|
| 119 | }
|
---|
| 120 | div.definitions {
|
---|
| 121 | grid-area: definitions;
|
---|
| 122 | }
|
---|
| 123 | div.translations {
|
---|
| 124 | grid-area: translations;
|
---|
| 125 | }
|
---|
| 126 | a {
|
---|
| 127 | text-decoration: none;
|
---|
| 128 | }
|
---|
| 129 | @media screen and (prefers-color-scheme: dark) {
|
---|
[51] | 130 | /* Loosely based on エレガントなお嬢様 - https://github.com/mei23/misskey/blob/mei-m544/src/client/themes/promo.json5 */
|
---|
[48] | 131 | body {
|
---|
[51] | 132 | background-color: #700000;
|
---|
| 133 | color: #ffffff;
|
---|
[48] | 134 | }
|
---|
| 135 | #could_not_switch_languages_text {
|
---|
[51] | 136 | color: yellow;
|
---|
[48] | 137 | }
|
---|
| 138 |
|
---|
| 139 | a:visited {
|
---|
[51] | 140 | color: #18c018;
|
---|
[48] | 141 | text-decoration: none;
|
---|
| 142 | }
|
---|
| 143 | a {
|
---|
[51] | 144 | color: #18c018;
|
---|
[48] | 145 | text-decoration: none;
|
---|
| 146 | }
|
---|
[51] | 147 | button {
|
---|
| 148 | background-color: #18c018;
|
---|
| 149 | color: #ffffff;
|
---|
| 150 | }
|
---|
[48] | 151 | input,
|
---|
| 152 | textarea {
|
---|
[51] | 153 | background-color: #5b0000;
|
---|
| 154 | border-color: #202020;
|
---|
| 155 | color: #b3784b;
|
---|
[48] | 156 | }
|
---|
[51] | 157 | select,
|
---|
| 158 | option {
|
---|
| 159 | background-color: #5b0000;
|
---|
| 160 | color: #ffffff;
|
---|
| 161 | }
|
---|
[48] | 162 | .def_type {
|
---|
[51] | 163 | color: #5d590c;
|
---|
[48] | 164 | text-transform: capitalize;
|
---|
| 165 | }
|
---|
| 166 | .syn {
|
---|
[51] | 167 | color: #bc8080;
|
---|
[48] | 168 | }
|
---|
| 169 | .syn_type {
|
---|
[51] | 170 | color: #358611;
|
---|
[48] | 171 | }
|
---|
| 172 | .use_in_sentence {
|
---|
[51] | 173 | color: #d7b081;
|
---|
[48] | 174 | }
|
---|
[51] | 175 | }
|
---|