rev |
line source |
yuuji@6
|
1 /*
|
yuuji@6
|
2 * Default CSS definitions
|
yuuji@6
|
3 */
|
yuuji@259
|
4 body {background: #eff; margin: 2px; padding: 6px;}
|
yuuji@221
|
5 h2, h3, hr {clear: both;}
|
yuuji@116
|
6 *.warn {color: red;}
|
yuuji@6
|
7 div.topmenu {
|
yuuji@6
|
8 margin: 0; padding: 0; width: 100%; height: 2em;
|
yuuji@6
|
9 }
|
yuuji@556
|
10 div.topmenu ul {width: 100%; position: fixed; z-index: 5; margin: 0;
|
yuuji@6
|
11 margin: 0 auto;}
|
yuuji@6
|
12 div.topmenu ul li {
|
yuuji@6
|
13 float: left; width: 18%;
|
yuuji@6
|
14 background: rgba(68,255,102,0.8); border: #3e5 2px groove; margin: 0;
|
yuuji@6
|
15 text-align: center; font-size: 80%; list-style: none;
|
yuuji@6
|
16 box-shadow: #242 2px 3px 5px;
|
yuuji@6
|
17 text-shadow: #fff 0px 0px 10px;
|
yuuji@6
|
18 }
|
yuuji@6
|
19 div.topmenu ul li:hover {background: #8fa;}
|
yuuji@6
|
20 div.topmenu ul a {text-decoration: none;}
|
yuuji@6
|
21
|
yuuji@6
|
22 ldiv.topmenu + h1 {clear: both; margin-top: 3em;}
|
yuuji@369
|
23 pre.list {
|
yuuji@369
|
24 overflow: auto; width: 96%; height: 40%; background: white;
|
yuuji@369
|
25 border: 2px inset;
|
yuuji@369
|
26 }
|
yuuji@369
|
27 p.copyright {
|
yuuji@377
|
28 border-top: 2px inset #555; text-align: right; clear: both;
|
yuuji@369
|
29 font-size: 50%;
|
yuuji@369
|
30 }
|
yuuji@369
|
31 p.copyright a {text-decoration: none;}
|
yuuji@6
|
32
|
yuuji@6
|
33 td {padding-left: 0.5ex; padding-right: 0.5ex;}
|
yuuji@6
|
34 table.td2r td:nth-child(2) {text-align: right;}
|
yuuji@6
|
35 table.td3r td:nth-child(3) {text-align: right;}
|
yuuji@369
|
36 table.td3rr td:nth-child(n+3) {text-align: right;}
|
yuuji@369
|
37 table.td3evw th:nth-child(2n+4) {background: white;}
|
yuuji@659
|
38 table.thl th {text-align: left;}
|
yuuji@659
|
39 span#reverse {background: white; padding: 0 0 0 0.4ex; border: outset;}
|
yuuji@252
|
40
|
yuuji@6
|
41 table.form, table.b, table.b tr, table.b td, table.b th {
|
yuuji@6
|
42 border: 1px solid black; border-collapse: collapse;
|
yuuji@6
|
43 }
|
yuuji@185
|
44 table.b, table.bloghead {
|
yuuji@185
|
45 border-radius: 1ex; box-shadow: rgb(250,222,222) 1px 2px 3px;
|
yuuji@185
|
46 }
|
yuuji@6
|
47 td.warn {background: #fcc;}
|
yuuji@6
|
48 input[type="checkbox"][name="rm"]:checked ~ table {background: red;}
|
yuuji@6
|
49 input[type="checkbox"][name="rm"] ~ span {display: none;}
|
yuuji@6
|
50 input[type="checkbox"][name="rm"]:checked ~ span {display: inline;}
|
yuuji@6
|
51
|
yuuji@6
|
52 input[type="radio"][value="replace"] + input.replace[type="file"] {
|
yuuji@6
|
53 visibility: hidden;}
|
yuuji@6
|
54 input[type="radio"][value="replace"]:checked + input.replace[type="file"] {
|
yuuji@6
|
55 visibility: visible;
|
yuuji@6
|
56 }
|
yuuji@153
|
57 label.admin span {border-bottom: 1px solid blue;}
|
yuuji@153
|
58 label.admin:after {content: "(ADMIN)"; color: red; text-decoration: none;}
|
yuuji@6
|
59
|
yuuji@6
|
60 /* keep/edit/rm action selector */
|
yuuji@6
|
61 input.action ~ input:not(.action), input.action ~ textarea {
|
yuuji@6
|
62 display: none;
|
yuuji@6
|
63 }
|
yuuji@6
|
64 input.action[value="edit"]:checked ~ input {display: inline;}
|
yuuji@6
|
65 input.action[value="edit"]:checked ~ textarea {display: block;}
|
yuuji@6
|
66 input.action[value="edit"]:checked ~ span {display: none;}
|
yuuji@6
|
67 input.action[value="rm"]:checked ~ span {background: red;}
|
yuuji@6
|
68 label.confirm {display: none;}
|
yuuji@6
|
69 input.action[value="rm"]:checked ~ label.confirm {
|
yuuji@6
|
70 display: inline;
|
yuuji@6
|
71 }
|
yuuji@451
|
72 input.hidesub ~ input[type="submit"] {visibility: hidden;}
|
yuuji@451
|
73 input.hidesub:focus ~ input[type="submit"],
|
yuuji@451
|
74 p:active input[type="submit"]
|
yuuji@451
|
75 {visibility: visible;}
|
yuuji@451
|
76 input[type=text]:focus {background: #ffa;}
|
yuuji@6
|
77
|
yuuji@241
|
78 form.replyblog {xxx-margin-bottom: 40%;}
|
yuuji@6
|
79 div.blogcomment {
|
yuuji@6
|
80 position: fixed; bottom: 0; left: 0;
|
yuuji@193
|
81 z-index: 2; background-color: rgba(250,222,222,0.6);
|
yuuji@6
|
82 }
|
yuuji@211
|
83 /* div.blogcomment textarea:focus {background: yellow;
|
yuuji@211
|
84 position: fixed; top: 0; bottom: auto; } Need to consider narrow display */
|
yuuji@6
|
85 div.blogcomment * {opacity: 1.0;}
|
yuuji@6
|
86 table.bloghead, .bloghead tr, .bloghead td {
|
yuuji@6
|
87 border: 1px solid black; border-collapse: collapse;
|
yuuji@6
|
88 min-width: 30em;
|
yuuji@6
|
89 }
|
yuuji@293
|
90 table.bloghead tr.preface {
|
yuuji@634
|
91 font-size: 150%; background: yellow; /* text-align: center; */
|
yuuji@290
|
92 white-space: pre-wrap;
|
yuuji@6
|
93 }
|
yuuji@644
|
94 table.bloghead tr.frozen {
|
yuuji@644
|
95 background: #ccf; border: blue thick solid; color: navy;
|
yuuji@644
|
96 }
|
yuuji@397
|
97
|
yuuji@6
|
98 table.bloghead {margin-bottom: 1em;}
|
yuuji@6
|
99
|
yuuji@6
|
100 table.blog_replies, .blog_replies tr, .blog_replies td {
|
yuuji@505
|
101 border: 1px solid #999; border-collapse: collapse;
|
yuuji@185
|
102 white-space: pre-wrap;
|
yuuji@6
|
103 }
|
yuuji@498
|
104 table.bloghead tr.preface td ul,
|
yuuji@496
|
105 table.blog_replies video,
|
yuuji@496
|
106 table.blog_replies iframe,
|
yuuji@489
|
107 table.blog_replies ul, .blog_replies tr ul, .blog_replies td ul {
|
yuuji@489
|
108 text-align: left; white-space: normal; margin: 1ex 0;
|
yuuji@489
|
109 }
|
yuuji@322
|
110 table.blog_replies p.proficon {
|
yuuji@322
|
111 float: right; margin: 0 1ex 0 0;
|
yuuji@322
|
112 }
|
yuuji@219
|
113 table.blog_replies+p.update_link {margin-top: 0; margin-bottom: 14em;}
|
yuuji@291
|
114 .blog_replies td.repl {
|
yuuji@6
|
115 vertical-align: top; min-width: 30em; height: 3em;
|
yuuji@185
|
116 max-width: 50em;
|
yuuji@6
|
117 }
|
yuuji@500
|
118 .blog_replies td.repl img {max-width: 30%;}
|
yuuji@427
|
119 td.repl h2, td.repl h3, td.repl h4 {
|
yuuji@427
|
120 display: inline; /* Because td.repl's white space is pre-wrap */
|
yuuji@459
|
121 /* text-shadow: blue 0px 1px; */
|
yuuji@427
|
122 }
|
yuuji@591
|
123 td.repl hr {display: inline-block; width: 95%; color: #cde}
|
yuuji@584
|
124 td.repl em {color: #a00; text-decoration: underline; padding-right: 0.3ex;}
|
yuuji@485
|
125 td.repl strong {color: white; background: #00a; padding: 0 0.5ex;}
|
yuuji@458
|
126 td.repl h2:before {content: "■"; color: #a22;}
|
yuuji@458
|
127 td.repl h3:before {content: "◆"; color: #a22;}
|
yuuji@456
|
128 td.repl h4:before {content: "○";}
|
yuuji@355
|
129 .blog_replies td.repatt {min-width: 12em;}
|
yuuji@354
|
130 table.blog_replies iframe {
|
yuuji@251
|
131 width: 400px; height: 300px; max-width: 50em; max-height: 20em;
|
yuuji@251
|
132 padding: 0; border: 0;
|
yuuji@251
|
133 }
|
yuuji@354
|
134 table.blog_replies td.new { /* New Article from last visit */
|
yuuji@287
|
135 background: white
|
yuuji@286
|
136 }
|
yuuji@291
|
137 table.mini, table.mini tr, table.mini th, table.mini td {
|
yuuji@291
|
138 margin: 0; border-width: 0;
|
yuuji@291
|
139 border-collapse: collapse;
|
yuuji@291
|
140 vertical-align: top; width: auto; height: 1em;
|
yuuji@291
|
141 }
|
yuuji@564
|
142 table.mini th {background: #cee;}
|
yuuji@481
|
143 table.mini tr {border-bottom: solid 1px #bcc;}
|
yuuji@294
|
144 table.mini th, table.mini td {text-align: justify;}
|
yuuji@583
|
145 table.mini td, table.mini th {padding: 1px 0.5ex; min-width: 1em;}
|
yuuji@291
|
146 table.mini {margin-left: 1em; border-left: 2px solid #686;}
|
yuuji@291
|
147
|
yuuji@320
|
148 /* "visibility: collapse" not working on chromium browser */
|
yuuji@320
|
149 div.noprofimg tr.profimg {visibility: collapse; display: none;}
|
yuuji@319
|
150 div.noprofimg tr:hover + tr.profimg, div.noprofimg tr:active + tr.profimg,
|
yuuji@319
|
151 div.noprofimg tr.profimg:hover, div.noprofimg tr.profimg:active {
|
yuuji@320
|
152 visibility: visible; display: table-row;}
|
yuuji@311
|
153
|
yuuji@557
|
154 /* Used for overlapping image */
|
yuuji@557
|
155 img.overlap {position: absolute; top: 40px; left: 50px; z-index: 2;}
|
yuuji@557
|
156
|
yuuji@322
|
157 /* Used in user's home page */
|
yuuji@311
|
158 p.profimg {float: left; max-width: 50%; max-height: 400px;
|
yuuji@311
|
159 overflow: hidden; margin: 0 1em 1ex;
|
yuuji@146
|
160 padding: 0; border: white 1px solid; box-shadow: 2px 3px 4px
|
yuuji@146
|
161 }
|
yuuji@149
|
162 p.profimg img {max-width: 400px;}
|
yuuji@146
|
163 div.home+* {clear: both;}
|
yuuji@311
|
164 body.grouphome p.groupimg {
|
yuuji@315
|
165 float: right; margin: 0 1em 1ex;
|
yuuji@311
|
166 overflow: hidden;}
|
yuuji@315
|
167 body.grouphome p.groupimg img {
|
yuuji@315
|
168 max-width: 380px; max-height: 380px;}
|
yuuji@6
|
169
|
yuuji@6
|
170 div.fold {margin-top: 1em; border-top: 1px solid black; padding-top: 1em;}
|
yuuji@237
|
171 div.noborder {border: 0px; margin: 0;}
|
yuuji@6
|
172 div.fold > div {
|
yuuji@32
|
173 xxdisplay: none; max-height: 80%; overflow: auto;
|
yuuji@30
|
174 height: 0px; opacity: 0; padding: 0 1ex;
|
yuuji@6
|
175 }
|
yuuji@59
|
176 div.fold input[type="checkbox"]:checked ~ div,
|
yuuji@59
|
177 div.fold input[type="radio"]:checked ~ div {
|
yuuji@193
|
178 display: block; background: #fadede;
|
yuuji@30
|
179 height: auto; opacity: 1.0; transition: 1s;
|
yuuji@30
|
180 }
|
yuuji@667
|
181 input.fold + label + *.folded {opacity: 0; display: none; hight: 0;}
|
yuuji@667
|
182 input[type="checkbox"].fold:checked + label + *.folded {
|
yuuji@659
|
183 opacity: 1.0; transition: 2s;
|
yuuji@659
|
184 }
|
yuuji@667
|
185 input[type="checkbox"].fold:checked + label + div.folded {
|
yuuji@667
|
186 display: block; hight: auto; transition: 2s;
|
yuuji@667
|
187 }
|
yuuji@260
|
188
|
yuuji@260
|
189 /* fold2!! */
|
yuuji@260
|
190 div.foldtabs {
|
yuuji@289
|
191 position: relative; height: 5em; margin-top: 1em;
|
yuuji@260
|
192 border-top: 1px solid black; padding-top: 1em;
|
yuuji@260
|
193 }
|
yuuji@260
|
194 div.foldtabs > div {
|
yuuji@260
|
195 position: absolute; top: 2.5em; opacity: 0.0; background: pink;
|
yuuji@369
|
196 margin: 2px; overflow: auto;
|
yuuji@260
|
197 }
|
yuuji@260
|
198 div.foldtabs input[type="radio"] {display: none;}
|
yuuji@260
|
199 div.foldtabs input[type="radio"]:checked + label + div {
|
yuuji@260
|
200 display: block; opacity: 1.0; transition: 0.2s; width: 100%;
|
yuuji@260
|
201 margin: 0; z-index: 2;
|
yuuji@260
|
202 }
|
yuuji@260
|
203 div.foldtabs > label {
|
yuuji@260
|
204 border: 1px outset #ddd; background: #ddd; xbackground: pink;
|
yuuji@260
|
205 border-top-left-radius: 0.8em; border-top-right-radius: 0.8em;
|
yuuji@260
|
206 margin: 0;
|
yuuji@260
|
207 padding: 0.2ex 0.5em; height: 3em;
|
yuuji@260
|
208 }
|
yuuji@260
|
209 div.foldtabs > input:active + label {background: white;}
|
yuuji@260
|
210 div.foldtabs input:checked + label {
|
yuuji@260
|
211 background: pink; border: pink 1px solid; border-bottom-width: 6px;
|
yuuji@260
|
212 }
|
yuuji@260
|
213 div.foldtabs input:checked + label:last-of-type {border-width: 1px;}
|
yuuji@260
|
214 input[type="checkbox"] + label + input[type="submit"] {display: none;}
|
yuuji@260
|
215 input[type="checkbox"]:checked + label + input[type="submit"] {
|
yuuji@260
|
216 display: inline;}
|
yuuji@289
|
217 div.foldtabs p {margin: 0;}
|
yuuji@260
|
218
|
yuuji@502
|
219 /* ToDo List CheckBox inspired by https://cultureacademia.jp/webcreate/303/ */
|
yuuji@502
|
220 input.s4-checkbox {display: none;} /* Do not show real checkbox */
|
yuuji@502
|
221 input.s4-checkbox + label {
|
yuuji@502
|
222 position: relative; padding-left: 0.8em; margin-right: 1em;
|
yuuji@502
|
223 }
|
yuuji@502
|
224 input.s4-checkbox + label:before,
|
yuuji@502
|
225 input.s4-checkbox + label:after {
|
yuuji@502
|
226 content: ""; display: block; /* Mimic Checkbox by absolute box */
|
yuuji@502
|
227 position: absolute; top: 0; left: 0; margin: 0;
|
yuuji@502
|
228 }
|
yuuji@502
|
229 input.s4-checkbox + label:before { /* checkbox frame */
|
yuuji@502
|
230 width: 0.8em; height: 0.8em; border: 1px solid #aaa; border-radius: 20%;
|
yuuji@504
|
231 background: #ddd;
|
yuuji@502
|
232 }
|
yuuji@502
|
233 input.s4-checkbox:checked + label:before { /* checked frame bg */
|
yuuji@502
|
234 background: pink;
|
yuuji@502
|
235 }
|
yuuji@502
|
236 input.s4-checkbox:checked + label { /* checked text */
|
yuuji@502
|
237 /* text-shadow: red 1px 1px; */
|
yuuji@502
|
238 }
|
yuuji@502
|
239 input.s4-checkbox:checked + label:after { /* checked mark */
|
yuuji@502
|
240 width: 0.6em; height: 0.4em; top: 0.05em; left: 0.1em;
|
yuuji@502
|
241 border-bottom: 3px solid navy;
|
yuuji@502
|
242 border-left: 3px solid navy;
|
yuuji@502
|
243 transform: rotate(-40deg);
|
yuuji@502
|
244 }
|
yuuji@502
|
245 /* ---------------------------------------------------- */
|
yuuji@502
|
246
|
yuuji@199
|
247 div.dumptable {max-height: 15em; overflow: auto;}
|
yuuji@296
|
248 div.dumptable tr:hover {background-color: #fee;}
|
yuuji@258
|
249 table.dumpblogs td,
|
yuuji@258
|
250 div.lcto td { /* LINK + CTIME + TITLE + OWNER + something... */
|
yuuji@258
|
251 white-space: nowrap; overflow: hidden;}
|
yuuji@258
|
252 table.dumpblogs td:nth-child(4),
|
yuuji@258
|
253 div.lcto td:nth-child(2) {max-width: 8em;}
|
yuuji@258
|
254 table.dumpblogs td:nth-child(5), /* team */
|
yuuji@258
|
255 table.dumpblogs td:nth-child(6), /* title */
|
yuuji@397
|
256 table.dumpblogs td:nth-child(7), /* heading */
|
yuuji@258
|
257 div.lcto td:nth-child(3), /* title */
|
yuuji@258
|
258 div.lcto td:nth-child(4) /* owner */
|
yuuji@258
|
259 {max-width: 14em;}
|
yuuji@258
|
260
|
yuuji@397
|
261 table.dumpblogs tr.凍結 td:nth-child(n+2) {opacity: 0.5;}
|
yuuji@397
|
262 table.dumpblogs tr.凍結 td:last-child {opacity: 1.0; color: blue;}
|
yuuji@397
|
263 *.frozen, *.凍結 {color: blue;}
|
yuuji@258
|
264
|
yuuji@258
|
265 /*
|
yuuji@252
|
266 table.dumpblogs td:nth-child(4) {
|
yuuji@256
|
267 max-width: 7.6em; overflow: hidden;}
|
yuuji@252
|
268 table.dumpblogs td:nth-child(5),
|
yuuji@252
|
269 table.dumpblogs td:nth-child(6) {
|
yuuji@256
|
270 max-width: 12em; overflow: hidden;}
|
yuuji@252
|
271 table.dumpblogs td:nth-child(7) {
|
yuuji@256
|
272 min-width: 5em; overflow: hidden;}
|
yuuji@258
|
273 */
|
yuuji@6
|
274
|
yuuji@6
|
275 /********************* icon list *********************/
|
yuuji@6
|
276 div.iconlist {
|
yuuji@6
|
277 text-align: center; float: left; margin: 1ex 1em;
|
yuuji@6
|
278 border: dotted #dfd 2px; padding: 1ex;
|
yuuji@6
|
279 }
|
yuuji@6
|
280 div.iconlist p {margin: 0; padding: 0;}
|
yuuji@6
|
281 div.iconlist p.tag {background: #ffa; border-radius: 4em;}
|
yuuji@19
|
282 div.iconlist p._temp {background: cyan;}
|
yuuji@19
|
283 div.iconlist p._lecture {background: pink;}
|
yuuji@19
|
284 div.iconlist p._admin {background: yellow;}
|
yuuji@19
|
285 div.iconlist p._friend {background: fuchsia;}
|
yuuji@23
|
286 div.iconlist p._fellows {background: #9f9;} /* light green */
|
yuuji@24
|
287 div.iconlist p._club {background: #4bb;} /* light teal */
|
yuuji@23
|
288 div.iconlist p._event {background: maroon; color: white;}
|
yuuji@23
|
289 div.iconlist p._misc {background: purple; color: white;}
|
yuuji@38
|
290 div.iconlist p._record {background: red; color: white;}
|
yuuji@190
|
291 div.iconlist p._info {background: #eff;} /* light cyan */
|
yuuji@190
|
292 div.iconlist p._support {background: #ffe;} /* light yellow */
|
yuuji@190
|
293 div.iconlist p._test {background: #ffb6c1;} /* light pink */
|
yuuji@609
|
294 input#ismembtn:checked ~ div.iconlist,
|
yuuji@609
|
295 input#isadmbtn:checked ~ div.iconlist {display: none;}
|
yuuji@609
|
296 input#ismembtn:checked ~ div.iconlist.Member,
|
yuuji@609
|
297 input#isadmbtn:checked ~ div.iconlist.ADMIN,
|
yuuji@609
|
298 input#ismembtn:checked ~ div.iconlist.ADMIN {display: block;}
|
yuuji@6
|
299 div.xy120x120 {min-width: 120px; min-height: 140px;}
|
yuuji@6
|
300 div.xy96x96 {min-width: 96px; min-height: 116px;}
|
yuuji@388
|
301 div.xy96x96 img {max-width: 96px;}
|
yuuji@6
|
302 div.xy50x50 {min-width: 50px; min-height: 70px;}
|
yuuji@389
|
303 div.xy50x50 img {max-width: 50px;}
|
yuuji@259
|
304 div.moderated {background: rgba(255, 215, 0, 0.3);} /* gold */
|
yuuji@259
|
305 body.moderated {background: #fffec4;} /* #faed8a */
|
yuuji@259
|
306 body.ismember, div.ismember {border-top: 4px red solid; margin-top: 0;}
|
yuuji@243
|
307 div.right, div.search {clear: both; float: right;}
|
yuuji@234
|
308 *.clear {clear: both;}
|
yuuji@243
|
309 div.search input[type="text"] {
|
yuuji@243
|
310 border: solid 1px #bbb; border-radius: 0.5ex; min-height: 20px;
|
yuuji@243
|
311 margin: 1em; padding: 0 0.5ex; padding-left: 18px;
|
yuuji@243
|
312 background: url("../../img/loupe.png") left center no-repeat
|
yuuji@243
|
313 rgba(242,240,240,0.7);
|
yuuji@352
|
314 position: relative;
|
yuuji@352
|
315 }
|
yuuji@557
|
316 div.search div.fr, *.relative {position: relative;}
|
yuuji@452
|
317 div.search p.help, textarea + p.help {display: none;}
|
yuuji@452
|
318 div.search input:focus + p.help,
|
yuuji@452
|
319 textarea:focus + p.help {
|
yuuji@352
|
320 display: block; background: white;
|
yuuji@352
|
321 position: absolute; right: 15em; white-space: pre;
|
yuuji@352
|
322 border: 1px solid #888; border-radius: 1em; padding: 1ex;
|
yuuji@352
|
323 box-shadow: #555 2px 2px;
|
yuuji@243
|
324 }
|
yuuji@452
|
325 textarea:focus + p.help {
|
yuuji@452
|
326 position: fixed;
|
yuuji@452
|
327 top: 0em; left: 0;
|
yuuji@452
|
328 }
|
yuuji@587
|
329 form.summary input[type=submit],
|
yuuji@588
|
330 input[type="submit"].all {background: #cfc; padding: 0.4ex 2ex;}
|
yuuji@602
|
331 input[type="reset"] {margin-left: 4em;}
|
yuuji@126
|
332
|
yuuji@126
|
333 /*
|
yuuji@126
|
334 * PR Web
|
yuuji@126
|
335 */
|
yuuji@126
|
336 body.pr {font-size: 200%;}
|
yuuji@126
|
337 body.pr h1 {
|
yuuji@126
|
338 text-align: center; width: 80%; padding: 3ex 0; margin: 0 auto;
|
yuuji@126
|
339 background: #ffefef; border: double 5px navy;
|
yuuji@126
|
340 }
|