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

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

もう少しいじってください

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

File size: 2.9 KB
Line 
1body {
2 background-color: #ffffff;
3 color: rgb(206, 147, 191);
4}
5a {
6 color: rgb(206, 147, 191);
7}
8a:visited {
9 color: rgb(206, 147, 191);
10}
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}
51button {
52 font-size: 1rem;
53 padding: 4px 10px;
54 border: 2px solid #888888;
55}
56input,
57select,
58textarea {
59 width: 100%;
60 font-size: 1rem;
61 padding: 4px;
62 border: 2px solid #888888;
63}
64textarea {
65 resize: vertical;
66 height: 5rem;
67 font-family: sans-serif;
68
69 /* Stretch to form width */
70 width: 100%;
71}
72input:focus,
73select:focus,
74textarea:focus,
75button:focus {
76 border-color: #478061;
77 outline: 1px solid #478061;
78}
79
80
81body {
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 {
113 display: grid;
114 width: 90vw;
115 grid-template-areas:
116 "definitions definitions"
117 "translations translations";
118 }
119}
120div.definitions {
121 grid-area: definitions;
122}
123div.translations {
124 grid-area: translations;
125}
126a {
127 text-decoration: none;
128}
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 */
131 body {
132 background-color: #700000;
133 color: #ffffff;
134 }
135 #could_not_switch_languages_text {
136 color: yellow;
137 }
138
139 a:visited {
140 color: #18c018;
141 text-decoration: none;
142 }
143 a {
144 color: #18c018;
145 text-decoration: none;
146 }
147 button {
148 background-color: #18c018;
149 color: #ffffff;
150 }
151 input,
152 textarea {
153 background-color: #5b0000;
154 border-color: #202020;
155 color: #b3784b;
156 }
157 select,
158 option {
159 background-color: #5b0000;
160 color: #ffffff;
161 }
162 .def_type {
163 color: #5d590c;
164 text-transform: capitalize;
165 }
166 .syn {
167 color: #bc8080;
168 }
169 .syn_type {
170 color: #358611;
171 }
172 .use_in_sentence {
173 color: #d7b081;
174 }
175}
Note: See TracBrowser for help on using the repository browser.