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