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

Last change on this file since 61 was 55, checked in by yakumo.izuru, 17 months ago

「swagger」サポートを削除し、あちこちのバグを修正

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