[54] | 1 | /*
|
---|
[55] | 2 | * Dark theme (エレガントなお嬢様) by @mei23
|
---|
| 3 | * Light theme (Lavender) by @sokuyuku
|
---|
| 4 | * Source for both can be found at https://github.com/mei23/misskey
|
---|
| 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 | }
|
---|
[55] | 43 | .language, .switch_languages {
|
---|
[48] | 44 | display: flex;
|
---|
| 45 | }
|
---|
| 46 | .language {
|
---|
| 47 | margin: 0px 10px;
|
---|
| 48 | }
|
---|
| 49 | .switch_languages {
|
---|
| 50 | margin: 0px 5px;
|
---|
| 51 | }
|
---|
| 52 | #switchbutton {
|
---|
| 53 | white-space: nowrap;
|
---|
| 54 | }
|
---|
| 55 | button {
|
---|
[54] | 56 | background-color: #ce93bf;
|
---|
| 57 | color: #ffffff;
|
---|
[48] | 58 | font-size: 1rem;
|
---|
| 59 | padding: 4px 10px;
|
---|
| 60 | border: 2px solid #888888;
|
---|
| 61 | }
|
---|
[55] | 62 | input, select, textarea {
|
---|
[48] | 63 | width: 100%;
|
---|
| 64 | font-size: 1rem;
|
---|
| 65 | padding: 4px;
|
---|
| 66 | border: 2px solid #888888;
|
---|
| 67 | }
|
---|
| 68 | textarea {
|
---|
| 69 | resize: vertical;
|
---|
| 70 | height: 5rem;
|
---|
| 71 | font-family: sans-serif;
|
---|
| 72 |
|
---|
| 73 | /* Stretch to form width */
|
---|
| 74 | width: 100%;
|
---|
| 75 | }
|
---|
[55] | 76 | input:focus, select:focus, textarea:focus, button:focus {
|
---|
[54] | 77 | border-color: #faf4f8;
|
---|
| 78 | outline: 1px solid #faf4f8;
|
---|
[48] | 79 | }
|
---|
| 80 | body {
|
---|
| 81 | justify-content: center;
|
---|
| 82 | font-family: sans-serif;
|
---|
| 83 | }
|
---|
| 84 | #definitions_and_translations {
|
---|
| 85 | display: grid;
|
---|
| 86 | margin: auto;
|
---|
| 87 | width: 1100px;
|
---|
| 88 | gap: 10px;
|
---|
| 89 | grid-template-areas: "definitions translations";
|
---|
| 90 |
|
---|
| 91 | }
|
---|
| 92 | .def_type {
|
---|
| 93 | color: #007979;
|
---|
| 94 | text-transform: capitalize;
|
---|
| 95 | }
|
---|
| 96 | .syn {
|
---|
| 97 | color: #804700;
|
---|
| 98 | }
|
---|
| 99 | .syn_type {
|
---|
| 100 | color: #007979;
|
---|
| 101 | }
|
---|
| 102 | .use_in_sentence {
|
---|
| 103 | color: #009902;
|
---|
| 104 | }
|
---|
| 105 | .definitions li:not(:last-child) {
|
---|
| 106 | margin-bottom: 1rem;
|
---|
| 107 | }
|
---|
| 108 | @media screen and (max-width: 1200px) {
|
---|
| 109 | #definitions_and_translations {
|
---|
[51] | 110 | display: grid;
|
---|
| 111 | width: 90vw;
|
---|
| 112 | grid-template-areas:
|
---|
| 113 | "definitions definitions"
|
---|
| 114 | "translations translations";
|
---|
[48] | 115 | }
|
---|
| 116 | }
|
---|
| 117 | div.definitions {
|
---|
| 118 | grid-area: definitions;
|
---|
| 119 | }
|
---|
| 120 | div.translations {
|
---|
| 121 | grid-area: translations;
|
---|
| 122 | }
|
---|
| 123 | a {
|
---|
| 124 | text-decoration: none;
|
---|
| 125 | }
|
---|
| 126 | @media screen and (prefers-color-scheme: dark) {
|
---|
| 127 | body {
|
---|
[51] | 128 | background-color: #700000;
|
---|
| 129 | color: #ffffff;
|
---|
[48] | 130 | }
|
---|
| 131 | #could_not_switch_languages_text {
|
---|
[51] | 132 | color: yellow;
|
---|
[48] | 133 | }
|
---|
| 134 |
|
---|
| 135 | a:visited {
|
---|
[51] | 136 | color: #18c018;
|
---|
[48] | 137 | text-decoration: none;
|
---|
| 138 | }
|
---|
| 139 | a {
|
---|
[51] | 140 | color: #18c018;
|
---|
[48] | 141 | text-decoration: none;
|
---|
| 142 | }
|
---|
[51] | 143 | button {
|
---|
| 144 | background-color: #18c018;
|
---|
| 145 | color: #ffffff;
|
---|
| 146 | }
|
---|
[55] | 147 | input, textarea {
|
---|
[51] | 148 | background-color: #5b0000;
|
---|
| 149 | border-color: #202020;
|
---|
| 150 | color: #b3784b;
|
---|
[48] | 151 | }
|
---|
[55] | 152 | select, option {
|
---|
[51] | 153 | background-color: #5b0000;
|
---|
| 154 | color: #ffffff;
|
---|
| 155 | }
|
---|
[48] | 156 | .def_type {
|
---|
[51] | 157 | color: #5d590c;
|
---|
[48] | 158 | text-transform: capitalize;
|
---|
| 159 | }
|
---|
| 160 | .syn {
|
---|
[51] | 161 | color: #bc8080;
|
---|
[48] | 162 | }
|
---|
| 163 | .syn_type {
|
---|
[51] | 164 | color: #358611;
|
---|
[48] | 165 | }
|
---|
| 166 | .use_in_sentence {
|
---|
[51] | 167 | color: #d7b081;
|
---|
[48] | 168 | }
|
---|
[51] | 169 | }
|
---|