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@6
|
10 div.topmenu ul {width: 100%; position: fixed; 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@6
|
23
|
yuuji@6
|
24 td {padding-left: 0.5ex; padding-right: 0.5ex;}
|
yuuji@6
|
25 table.td2r td:nth-child(2) {text-align: right;}
|
yuuji@6
|
26 table.td3r td:nth-child(3) {text-align: right;}
|
yuuji@252
|
27
|
yuuji@6
|
28 table.form, table.b, table.b tr, table.b td, table.b th {
|
yuuji@6
|
29 border: 1px solid black; border-collapse: collapse;
|
yuuji@6
|
30 }
|
yuuji@185
|
31 table.b, table.bloghead {
|
yuuji@185
|
32 border-radius: 1ex; box-shadow: rgb(250,222,222) 1px 2px 3px;
|
yuuji@185
|
33 }
|
yuuji@6
|
34 td.warn {background: #fcc;}
|
yuuji@6
|
35 input[type="checkbox"][name="rm"]:checked ~ table {background: red;}
|
yuuji@6
|
36 input[type="checkbox"][name="rm"] ~ span {display: none;}
|
yuuji@6
|
37 input[type="checkbox"][name="rm"]:checked ~ span {display: inline;}
|
yuuji@6
|
38
|
yuuji@6
|
39 input[type="radio"][value="replace"] + input.replace[type="file"] {
|
yuuji@6
|
40 visibility: hidden;}
|
yuuji@6
|
41 input[type="radio"][value="replace"]:checked + input.replace[type="file"] {
|
yuuji@6
|
42 visibility: visible;
|
yuuji@6
|
43 }
|
yuuji@153
|
44 label.admin span {border-bottom: 1px solid blue;}
|
yuuji@153
|
45 label.admin:after {content: "(ADMIN)"; color: red; text-decoration: none;}
|
yuuji@6
|
46
|
yuuji@6
|
47 /* keep/edit/rm action selector */
|
yuuji@6
|
48 input.action ~ input:not(.action), input.action ~ textarea {
|
yuuji@6
|
49 display: none;
|
yuuji@6
|
50 }
|
yuuji@6
|
51 input.action[value="edit"]:checked ~ input {display: inline;}
|
yuuji@6
|
52 input.action[value="edit"]:checked ~ textarea {display: block;}
|
yuuji@6
|
53 input.action[value="edit"]:checked ~ span {display: none;}
|
yuuji@6
|
54 input.action[value="rm"]:checked ~ span {background: red;}
|
yuuji@6
|
55 label.confirm {display: none;}
|
yuuji@6
|
56 input.action[value="rm"]:checked ~ label.confirm {
|
yuuji@6
|
57 display: inline;
|
yuuji@6
|
58 }
|
yuuji@6
|
59
|
yuuji@241
|
60 form.replyblog {xxx-margin-bottom: 40%;}
|
yuuji@6
|
61 div.blogcomment {
|
yuuji@6
|
62 position: fixed; bottom: 0; left: 0;
|
yuuji@193
|
63 z-index: 2; background-color: rgba(250,222,222,0.6);
|
yuuji@6
|
64 }
|
yuuji@211
|
65 /* div.blogcomment textarea:focus {background: yellow;
|
yuuji@211
|
66 position: fixed; top: 0; bottom: auto; } Need to consider narrow display */
|
yuuji@6
|
67 div.blogcomment * {opacity: 1.0;}
|
yuuji@6
|
68 table.bloghead, .bloghead tr, .bloghead td {
|
yuuji@6
|
69 border: 1px solid black; border-collapse: collapse;
|
yuuji@6
|
70 min-width: 30em;
|
yuuji@6
|
71 }
|
yuuji@293
|
72 table.bloghead tr.preface {
|
yuuji@6
|
73 font-size: 150%; background: yellow; text-align: center;
|
yuuji@290
|
74 white-space: pre-wrap;
|
yuuji@6
|
75 }
|
yuuji@6
|
76 table.bloghead {margin-bottom: 1em;}
|
yuuji@6
|
77
|
yuuji@6
|
78 table.blog_replies, .blog_replies tr, .blog_replies td {
|
yuuji@6
|
79 border: 1px solid black; border-collapse: collapse;
|
yuuji@185
|
80 white-space: pre-wrap;
|
yuuji@6
|
81 }
|
yuuji@219
|
82 table.blog_replies+p.update_link {margin-top: 0; margin-bottom: 14em;}
|
yuuji@291
|
83 .blog_replies td.repl {
|
yuuji@6
|
84 vertical-align: top; min-width: 30em; height: 3em;
|
yuuji@185
|
85 max-width: 50em;
|
yuuji@6
|
86 }
|
yuuji@251
|
87 .blog_replies iframe {
|
yuuji@251
|
88 width: 400px; height: 300px; max-width: 50em; max-height: 20em;
|
yuuji@251
|
89 padding: 0; border: 0;
|
yuuji@251
|
90 }
|
yuuji@287
|
91 .blog_replies td.new { /* New Article from last visit */
|
yuuji@287
|
92 background: white
|
yuuji@286
|
93 }
|
yuuji@291
|
94 table.mini, table.mini tr, table.mini th, table.mini td {
|
yuuji@291
|
95 margin: 0; border-width: 0;
|
yuuji@291
|
96 border-collapse: collapse;
|
yuuji@291
|
97 vertical-align: top; width: auto; height: 1em;
|
yuuji@291
|
98 }
|
yuuji@294
|
99 table.mini th, table.mini td {text-align: justify;}
|
yuuji@293
|
100 table.mini td, table.mini th {padding: 1px 1ex; min-width: 1em;}
|
yuuji@291
|
101 table.mini {margin-left: 1em; border-left: 2px solid #686;}
|
yuuji@291
|
102
|
yuuji@311
|
103 tr.profimg {visibility: collapse;}
|
yuuji@311
|
104 tr:hover + tr.profimg, tr:active + tr.profimg {visibility: visible;}
|
yuuji@311
|
105
|
yuuji@311
|
106 p.profimg {float: left; max-width: 50%; max-height: 400px;
|
yuuji@311
|
107 overflow: hidden; margin: 0 1em 1ex;
|
yuuji@146
|
108 padding: 0; border: white 1px solid; box-shadow: 2px 3px 4px
|
yuuji@146
|
109 }
|
yuuji@149
|
110 p.profimg img {max-width: 400px;}
|
yuuji@146
|
111 div.home+* {clear: both;}
|
yuuji@311
|
112 body.grouphome p.groupimg {
|
yuuji@311
|
113 float: right; max-width: 380px; max-height: 380px; margin: 0 1em 1ex;
|
yuuji@311
|
114 overflow: hidden;}
|
yuuji@6
|
115
|
yuuji@6
|
116 div.fold {margin-top: 1em; border-top: 1px solid black; padding-top: 1em;}
|
yuuji@237
|
117 div.noborder {border: 0px; margin: 0;}
|
yuuji@6
|
118 div.fold > div {
|
yuuji@32
|
119 xxdisplay: none; max-height: 80%; overflow: auto;
|
yuuji@30
|
120 height: 0px; opacity: 0; padding: 0 1ex;
|
yuuji@6
|
121 }
|
yuuji@59
|
122 div.fold input[type="checkbox"]:checked ~ div,
|
yuuji@59
|
123 div.fold input[type="radio"]:checked ~ div {
|
yuuji@193
|
124 display: block; background: #fadede;
|
yuuji@30
|
125 height: auto; opacity: 1.0; transition: 1s;
|
yuuji@30
|
126 }
|
yuuji@260
|
127
|
yuuji@260
|
128 /* fold2!! */
|
yuuji@260
|
129 div.foldtabs {
|
yuuji@289
|
130 position: relative; height: 5em; margin-top: 1em;
|
yuuji@260
|
131 border-top: 1px solid black; padding-top: 1em;
|
yuuji@260
|
132 }
|
yuuji@260
|
133 div.foldtabs > div {
|
yuuji@260
|
134 position: absolute; top: 2.5em; opacity: 0.0; background: pink;
|
yuuji@289
|
135 margin: 2px; scroll: auto;
|
yuuji@260
|
136 }
|
yuuji@260
|
137 div.foldtabs input[type="radio"] {display: none;}
|
yuuji@260
|
138 div.foldtabs input[type="radio"]:checked + label + div {
|
yuuji@260
|
139 display: block; opacity: 1.0; transition: 0.2s; width: 100%;
|
yuuji@260
|
140 margin: 0; z-index: 2;
|
yuuji@260
|
141 }
|
yuuji@260
|
142 div.foldtabs > label {
|
yuuji@260
|
143 border: 1px outset #ddd; background: #ddd; xbackground: pink;
|
yuuji@260
|
144 border-top-left-radius: 0.8em; border-top-right-radius: 0.8em;
|
yuuji@260
|
145 margin: 0;
|
yuuji@260
|
146 padding: 0.2ex 0.5em; height: 3em;
|
yuuji@260
|
147 }
|
yuuji@260
|
148 div.foldtabs > input:active + label {background: white;}
|
yuuji@260
|
149 div.foldtabs input:checked + label {
|
yuuji@260
|
150 background: pink; border: pink 1px solid; border-bottom-width: 6px;
|
yuuji@260
|
151 }
|
yuuji@260
|
152 div.foldtabs input:checked + label:last-of-type {border-width: 1px;}
|
yuuji@260
|
153 input[type="checkbox"] + label + input[type="submit"] {display: none;}
|
yuuji@260
|
154 input[type="checkbox"]:checked + label + input[type="submit"] {
|
yuuji@260
|
155 display: inline;}
|
yuuji@289
|
156 div.foldtabs p {margin: 0;}
|
yuuji@260
|
157
|
yuuji@199
|
158 div.dumptable {max-height: 15em; overflow: auto;}
|
yuuji@296
|
159 div.dumptable tr:hover {background-color: #fee;}
|
yuuji@258
|
160 table.dumpblogs td,
|
yuuji@258
|
161 div.lcto td { /* LINK + CTIME + TITLE + OWNER + something... */
|
yuuji@258
|
162 white-space: nowrap; overflow: hidden;}
|
yuuji@258
|
163 table.dumpblogs td:nth-child(4),
|
yuuji@258
|
164 div.lcto td:nth-child(2) {max-width: 8em;}
|
yuuji@258
|
165 table.dumpblogs td:nth-child(5), /* team */
|
yuuji@258
|
166 table.dumpblogs td:nth-child(6), /* title */
|
yuuji@258
|
167 div.lcto td:nth-child(3), /* title */
|
yuuji@258
|
168 div.lcto td:nth-child(4) /* owner */
|
yuuji@258
|
169 {max-width: 14em;}
|
yuuji@258
|
170
|
yuuji@258
|
171
|
yuuji@258
|
172 /*
|
yuuji@252
|
173 table.dumpblogs td:nth-child(4) {
|
yuuji@256
|
174 max-width: 7.6em; overflow: hidden;}
|
yuuji@252
|
175 table.dumpblogs td:nth-child(5),
|
yuuji@252
|
176 table.dumpblogs td:nth-child(6) {
|
yuuji@256
|
177 max-width: 12em; overflow: hidden;}
|
yuuji@252
|
178 table.dumpblogs td:nth-child(7) {
|
yuuji@256
|
179 min-width: 5em; overflow: hidden;}
|
yuuji@258
|
180 */
|
yuuji@6
|
181
|
yuuji@6
|
182 /********************* icon list *********************/
|
yuuji@6
|
183 div.iconlist {
|
yuuji@6
|
184 text-align: center; float: left; margin: 1ex 1em;
|
yuuji@6
|
185 border: dotted #dfd 2px; padding: 1ex;
|
yuuji@6
|
186 }
|
yuuji@6
|
187 div.iconlist p {margin: 0; padding: 0;}
|
yuuji@6
|
188 div.iconlist p.tag {background: #ffa; border-radius: 4em;}
|
yuuji@19
|
189 div.iconlist p._temp {background: cyan;}
|
yuuji@19
|
190 div.iconlist p._lecture {background: pink;}
|
yuuji@19
|
191 div.iconlist p._admin {background: yellow;}
|
yuuji@19
|
192 div.iconlist p._friend {background: fuchsia;}
|
yuuji@23
|
193 div.iconlist p._fellows {background: #9f9;} /* light green */
|
yuuji@24
|
194 div.iconlist p._club {background: #4bb;} /* light teal */
|
yuuji@23
|
195 div.iconlist p._event {background: maroon; color: white;}
|
yuuji@23
|
196 div.iconlist p._misc {background: purple; color: white;}
|
yuuji@38
|
197 div.iconlist p._record {background: red; color: white;}
|
yuuji@190
|
198 div.iconlist p._info {background: #eff;} /* light cyan */
|
yuuji@190
|
199 div.iconlist p._support {background: #ffe;} /* light yellow */
|
yuuji@190
|
200 div.iconlist p._test {background: #ffb6c1;} /* light pink */
|
yuuji@6
|
201 div.xy120x120 {min-width: 120px; min-height: 140px;}
|
yuuji@6
|
202 div.xy96x96 {min-width: 96px; min-height: 116px;}
|
yuuji@6
|
203 div.xy50x50 {min-width: 50px; min-height: 70px;}
|
yuuji@259
|
204 div.moderated {background: rgba(255, 215, 0, 0.3);} /* gold */
|
yuuji@259
|
205 body.moderated {background: #fffec4;} /* #faed8a */
|
yuuji@259
|
206 body.ismember, div.ismember {border-top: 4px red solid; margin-top: 0;}
|
yuuji@243
|
207 div.right, div.search {clear: both; float: right;}
|
yuuji@234
|
208 *.clear {clear: both;}
|
yuuji@243
|
209 div.search input[type="text"] {
|
yuuji@243
|
210 border: solid 1px #bbb; border-radius: 0.5ex; min-height: 20px;
|
yuuji@243
|
211 margin: 1em; padding: 0 0.5ex; padding-left: 18px;
|
yuuji@243
|
212 background: url("../../img/loupe.png") left center no-repeat
|
yuuji@243
|
213 rgba(242,240,240,0.7);
|
yuuji@243
|
214 }
|
yuuji@126
|
215
|
yuuji@126
|
216 /*
|
yuuji@126
|
217 * PR Web
|
yuuji@126
|
218 */
|
yuuji@126
|
219 body.pr {font-size: 200%;}
|
yuuji@126
|
220 body.pr h1 {
|
yuuji@126
|
221 text-align: center; width: 80%; padding: 3ex 0; margin: 0 auto;
|
yuuji@126
|
222 background: #ffefef; border: double 5px navy;
|
yuuji@126
|
223 }
|