Changeset 51 in code for trunk/static
- Timestamp:
- Oct 7, 2023, 5:36:50 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/static/style.css
r48 r51 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 } 1 11 .center { 2 12 text-align: center; 3 13 } 4 5 14 .wrap { 6 15 display: flex; … … 8 17 justify-content: center; 9 18 } 10 11 19 .wrap.languages { 12 20 flex-wrap: nowrap; 13 21 margin-bottom: 20px; 14 22 } 15 16 23 #could_not_switch_languages_text { 17 24 color: red; 18 25 } 19 20 26 .item { 21 27 width: 100%; 22 28 height: 150px; 23 29 } 24 25 30 .item-wrapper { 26 31 display: flex; … … 31 36 gap: 10px; 32 37 } 33 34 35 38 .language, 36 39 .switch_languages { 37 40 display: flex; 38 41 } 39 40 42 .language { 41 43 margin: 0px 10px; 42 44 } 43 44 45 .switch_languages { 45 46 margin: 0px 5px; 46 47 } 47 48 48 #switchbutton { 49 49 white-space: nowrap; 50 50 } 51 52 51 button { 53 52 font-size: 1rem; … … 55 54 border: 2px solid #888888; 56 55 } 57 58 56 input, 59 57 select, … … 64 62 border: 2px solid #888888; 65 63 } 66 67 64 textarea { 68 65 resize: vertical; … … 73 70 width: 100%; 74 71 } 75 76 72 input:focus, 77 73 select:focus, … … 96 92 97 93 } 98 99 94 .def_type { 100 95 color: #007979; … … 105 100 color: #804700; 106 101 } 107 108 102 .syn_type { 109 103 color: #007979; 110 104 } 111 112 105 .use_in_sentence { 113 106 color: #009902; 114 107 } 115 116 108 .definitions li:not(:last-child) { 117 109 margin-bottom: 1rem; 118 110 } 119 120 111 @media screen and (max-width: 1200px) { 121 112 #definitions_and_translations { 122 123 124 125 126 113 display: grid; 114 width: 90vw; 115 grid-template-areas: 116 "definitions definitions" 117 "translations translations"; 127 118 } 128 119 } 129 130 131 120 div.definitions { 132 121 grid-area: definitions; 133 122 } 134 135 123 div.translations { 136 124 grid-area: translations; 137 125 } 138 139 126 a { 140 127 text-decoration: none; 141 128 } 142 143 129 @media screen and (prefers-color-scheme: dark) { 130 /* Loosely based on エレガントなお嬢様 - https://github.com/mei23/misskey/blob/mei-m544/src/client/themes/promo.json5 */ 144 131 body { 145 background-color: # 212529;146 color: #f 8f9fa;132 background-color: #700000; 133 color: #ffffff; 147 134 } 148 149 135 #could_not_switch_languages_text { 150 color: #F13333;136 color: yellow; 151 137 } 152 138 153 139 a:visited { 154 color: # 9759f6;140 color: #18c018; 155 141 text-decoration: none; 156 142 } 157 158 143 a { 159 color: # 599bf6;144 color: #18c018; 160 145 text-decoration: none; 161 146 } 162 147 button { 148 background-color: #18c018; 149 color: #ffffff; 150 } 163 151 input, 152 textarea { 153 background-color: #5b0000; 154 border-color: #202020; 155 color: #b3784b; 156 } 164 157 select, 165 button, 166 textarea { 167 background-color: #131618; 168 border-color: #495057; 169 color: #f8f9fa; 158 option { 159 background-color: #5b0000; 160 color: #ffffff; 170 161 } 171 172 162 .def_type { 173 color: cyan;163 color: #5d590c; 174 164 text-transform: capitalize; 175 165 } 176 177 166 .syn { 178 color: burlywood;167 color: #bc8080; 179 168 } 180 181 169 .syn_type { 182 color: cyan;170 color: #358611; 183 171 } 184 185 172 .use_in_sentence { 186 color: yellow;173 color: #d7b081; 187 174 } 188 175 }
Note:
See TracChangeset
for help on using the changeset viewer.