source: code/trunk/static/style.css@ 54

Last change on this file since 54 was 54, checked in by yakumo.izuru, 20 months ago

I <3 めいすきー

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File size: 3.1 KB
Line 
1/*
2Light theme is based on Lavender (https://github.com/mei23/misskey/blob/mei-m544/src/client/themes/lavender.json5)
3while the Dark theme is based on エレガントなお嬢様 (https://github.com/mei23/misskey/blob/mei-m544/src/client/themes/promo.json5)
4*/
5
6body {
7 background-color: #f8cfd2;
8 color: rgb(206, 147, 191);
9}
10a {
11 color: rgb(206, 147, 191);
12}
13a:visited {
14 color: rgb(206, 147, 191);
15}
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}
56button {
57 background-color: #ce93bf;
58 color: #ffffff;
59 font-size: 1rem;
60 padding: 4px 10px;
61 border: 2px solid #888888;
62}
63input,
64select,
65textarea {
66 width: 100%;
67 font-size: 1rem;
68 padding: 4px;
69 border: 2px solid #888888;
70}
71textarea {
72 resize: vertical;
73 height: 5rem;
74 font-family: sans-serif;
75
76 /* Stretch to form width */
77 width: 100%;
78}
79input:focus,
80select:focus,
81textarea:focus,
82button:focus {
83 border-color: #faf4f8;
84 outline: 1px solid #faf4f8;
85}
86
87
88body {
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 {
120 display: grid;
121 width: 90vw;
122 grid-template-areas:
123 "definitions definitions"
124 "translations translations";
125 }
126}
127div.definitions {
128 grid-area: definitions;
129}
130div.translations {
131 grid-area: translations;
132}
133a {
134 text-decoration: none;
135}
136@media screen and (prefers-color-scheme: dark) {
137 body {
138 background-color: #700000;
139 color: #ffffff;
140 }
141 #could_not_switch_languages_text {
142 color: yellow;
143 }
144
145 a:visited {
146 color: #18c018;
147 text-decoration: none;
148 }
149 a {
150 color: #18c018;
151 text-decoration: none;
152 }
153 button {
154 background-color: #18c018;
155 color: #ffffff;
156 }
157 input,
158 textarea {
159 background-color: #5b0000;
160 border-color: #202020;
161 color: #b3784b;
162 }
163 select,
164 option {
165 background-color: #5b0000;
166 color: #ffffff;
167 }
168 .def_type {
169 color: #5d590c;
170 text-transform: capitalize;
171 }
172 .syn {
173 color: #bc8080;
174 }
175 .syn_type {
176 color: #358611;
177 }
178 .use_in_sentence {
179 color: #d7b081;
180 }
181}
Note: See TracBrowser for help on using the repository browser.