Mercurial > hgrepos > hgweb.cgi > s4
annotate examples/common/default/default.css @ 256:e9b33033d95f
table.dumpblogs td {white-space: nowrap;}
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Mon, 18 Jul 2016 19:52:13 +0859 |
parents | 75dfaceac01f |
children | a967788f7ad8 |
rev | line source |
---|---|
6 | 1 /* |
2 * Default CSS definitions | |
3 */ | |
4 body {background: #eff;} | |
221 | 5 h2, h3, hr {clear: both;} |
116 | 6 *.warn {color: red;} |
6 | 7 div.topmenu { |
8 margin: 0; padding: 0; width: 100%; height: 2em; | |
9 } | |
10 div.topmenu ul {width: 100%; position: fixed; margin: 0; | |
11 margin: 0 auto;} | |
12 div.topmenu ul li { | |
13 float: left; width: 18%; | |
14 background: rgba(68,255,102,0.8); border: #3e5 2px groove; margin: 0; | |
15 text-align: center; font-size: 80%; list-style: none; | |
16 box-shadow: #242 2px 3px 5px; | |
17 text-shadow: #fff 0px 0px 10px; | |
18 } | |
19 div.topmenu ul li:hover {background: #8fa;} | |
20 div.topmenu ul a {text-decoration: none;} | |
21 | |
22 ldiv.topmenu + h1 {clear: both; margin-top: 3em;} | |
23 | |
24 td {padding-left: 0.5ex; padding-right: 0.5ex;} | |
25 table.td2r td:nth-child(2) {text-align: right;} | |
26 table.td3r td:nth-child(3) {text-align: right;} | |
252
75dfaceac01f
Link to newest article of the blog in the recent writing place
HIROSE Yuuji <yuuji@gentei.org>
parents:
251
diff
changeset
|
27 |
6 | 28 table.form, table.b, table.b tr, table.b td, table.b th { |
29 border: 1px solid black; border-collapse: collapse; | |
30 } | |
185 | 31 table.b, table.bloghead { |
32 border-radius: 1ex; box-shadow: rgb(250,222,222) 1px 2px 3px; | |
33 } | |
6 | 34 td.warn {background: #fcc;} |
35 input[type="checkbox"][name="rm"]:checked ~ table {background: red;} | |
36 input[type="checkbox"][name="rm"] ~ span {display: none;} | |
37 input[type="checkbox"][name="rm"]:checked ~ span {display: inline;} | |
38 | |
39 input[type="radio"][value="replace"] + input.replace[type="file"] { | |
40 visibility: hidden;} | |
41 input[type="radio"][value="replace"]:checked + input.replace[type="file"] { | |
42 visibility: visible; | |
43 } | |
153
f7b4f7e5df2a
Commission of grp_adm pulled back into grpaction()
HIROSE Yuuji <yuuji@gentei.org>
parents:
152
diff
changeset
|
44 label.admin span {border-bottom: 1px solid blue;} |
f7b4f7e5df2a
Commission of grp_adm pulled back into grpaction()
HIROSE Yuuji <yuuji@gentei.org>
parents:
152
diff
changeset
|
45 label.admin:after {content: "(ADMIN)"; color: red; text-decoration: none;} |
6 | 46 |
47 /* keep/edit/rm action selector */ | |
48 input.action ~ input:not(.action), input.action ~ textarea { | |
49 display: none; | |
50 } | |
51 input.action[value="edit"]:checked ~ input {display: inline;} | |
52 input.action[value="edit"]:checked ~ textarea {display: block;} | |
53 input.action[value="edit"]:checked ~ span {display: none;} | |
54 input.action[value="rm"]:checked ~ span {background: red;} | |
55 label.confirm {display: none;} | |
56 input.action[value="rm"]:checked ~ label.confirm { | |
57 display: inline; | |
58 } | |
59 | |
241
0c817d4a549a
Disable margin-bottom of form.replyblog
HIROSE Yuuji <yuuji@gentei.org>
parents:
237
diff
changeset
|
60 form.replyblog {xxx-margin-bottom: 40%;} |
6 | 61 div.blogcomment { |
62 position: fixed; bottom: 0; left: 0; | |
193 | 63 z-index: 2; background-color: rgba(250,222,222,0.6); |
6 | 64 } |
211 | 65 /* div.blogcomment textarea:focus {background: yellow; |
66 position: fixed; top: 0; bottom: auto; } Need to consider narrow display */ | |
6 | 67 div.blogcomment * {opacity: 1.0;} |
68 table.bloghead, .bloghead tr, .bloghead td { | |
69 border: 1px solid black; border-collapse: collapse; | |
70 min-width: 30em; | |
71 } | |
72 table.bloghead tr:nth-child(2) { | |
73 font-size: 150%; background: yellow; text-align: center; | |
74 } | |
75 table.bloghead {margin-bottom: 1em;} | |
76 | |
77 table.blog_replies, .blog_replies tr, .blog_replies td { | |
78 border: 1px solid black; border-collapse: collapse; | |
185 | 79 white-space: pre-wrap; |
6 | 80 } |
219
e2dea2f63a69
Duplicate posting by reload avoided
HIROSE Yuuji <yuuji@gentei.org>
parents:
211
diff
changeset
|
81 table.blog_replies+p.update_link {margin-top: 0; margin-bottom: 14em;} |
6 | 82 .blog_replies td:nth-child(2) { |
83 vertical-align: top; min-width: 30em; height: 3em; | |
185 | 84 max-width: 50em; |
6 | 85 } |
251
9e8e43ed3c11
Set geometry of iframe inside of blog_replies by property instead of attr.
HIROSE Yuuji <yuuji@gentei.org>
parents:
243
diff
changeset
|
86 .blog_replies iframe { |
9e8e43ed3c11
Set geometry of iframe inside of blog_replies by property instead of attr.
HIROSE Yuuji <yuuji@gentei.org>
parents:
243
diff
changeset
|
87 width: 400px; height: 300px; max-width: 50em; max-height: 20em; |
9e8e43ed3c11
Set geometry of iframe inside of blog_replies by property instead of attr.
HIROSE Yuuji <yuuji@gentei.org>
parents:
243
diff
changeset
|
88 padding: 0; border: 0; |
9e8e43ed3c11
Set geometry of iframe inside of blog_replies by property instead of attr.
HIROSE Yuuji <yuuji@gentei.org>
parents:
243
diff
changeset
|
89 } |
146 | 90 p.profimg {float: left; max-width: 400px; max-height: 400px; |
91 overflow: hidden; margin-right: 1em; | |
92 padding: 0; border: white 1px solid; box-shadow: 2px 3px 4px | |
93 } | |
149
0e28561bf73a
Specify `max-width: 400px' to p.profimg img
HIROSE Yuuji <yuuji@gentei.org>
parents:
146
diff
changeset
|
94 p.profimg img {max-width: 400px;} |
146 | 95 div.home+* {clear: both;} |
6 | 96 |
97 div.fold {margin-top: 1em; border-top: 1px solid black; padding-top: 1em;} | |
237 | 98 div.noborder {border: 0px; margin: 0;} |
6 | 99 div.fold > div { |
32
280024035566
Folding div by `display none' breaks effects of transition.
HIROSE Yuuji <yuuji@gentei.org>
parents:
30
diff
changeset
|
100 xxdisplay: none; max-height: 80%; overflow: auto; |
30
a9f061d74153
Add transition to hidden div by div.fold
HIROSE Yuuji <yuuji@gentei.org>
parents:
24
diff
changeset
|
101 height: 0px; opacity: 0; padding: 0 1ex; |
6 | 102 } |
59 | 103 div.fold input[type="checkbox"]:checked ~ div, |
104 div.fold input[type="radio"]:checked ~ div { | |
193 | 105 display: block; background: #fadede; |
30
a9f061d74153
Add transition to hidden div by div.fold
HIROSE Yuuji <yuuji@gentei.org>
parents:
24
diff
changeset
|
106 height: auto; opacity: 1.0; transition: 1s; |
a9f061d74153
Add transition to hidden div by div.fold
HIROSE Yuuji <yuuji@gentei.org>
parents:
24
diff
changeset
|
107 } |
199
5f98d8f46af5
Recover to div.dumptable stand alone
HIROSE Yuuji <yuuji@gentei.org>
parents:
198
diff
changeset
|
108 div.dumptable {max-height: 15em; overflow: auto;} |
252
75dfaceac01f
Link to newest article of the blog in the recent writing place
HIROSE Yuuji <yuuji@gentei.org>
parents:
251
diff
changeset
|
109 table.td4fw td:nth-child(4) {max-width: 8em; white-space: nowrap; overflow: hidden;} |
75dfaceac01f
Link to newest article of the blog in the recent writing place
HIROSE Yuuji <yuuji@gentei.org>
parents:
251
diff
changeset
|
110 table.td67fw {max-width: 9%;} |
256
e9b33033d95f
table.dumpblogs td {white-space: nowrap;}
HIROSE Yuuji <yuuji@gentei.org>
parents:
252
diff
changeset
|
111 table.dumpblogs td {white-space: nowrap;} |
252
75dfaceac01f
Link to newest article of the blog in the recent writing place
HIROSE Yuuji <yuuji@gentei.org>
parents:
251
diff
changeset
|
112 table.dumpblogs td:nth-child(4) { |
256
e9b33033d95f
table.dumpblogs td {white-space: nowrap;}
HIROSE Yuuji <yuuji@gentei.org>
parents:
252
diff
changeset
|
113 max-width: 7.6em; overflow: hidden;} |
252
75dfaceac01f
Link to newest article of the blog in the recent writing place
HIROSE Yuuji <yuuji@gentei.org>
parents:
251
diff
changeset
|
114 table.dumpblogs td:nth-child(5), |
75dfaceac01f
Link to newest article of the blog in the recent writing place
HIROSE Yuuji <yuuji@gentei.org>
parents:
251
diff
changeset
|
115 table.dumpblogs td:nth-child(6) { |
256
e9b33033d95f
table.dumpblogs td {white-space: nowrap;}
HIROSE Yuuji <yuuji@gentei.org>
parents:
252
diff
changeset
|
116 max-width: 12em; overflow: hidden;} |
252
75dfaceac01f
Link to newest article of the blog in the recent writing place
HIROSE Yuuji <yuuji@gentei.org>
parents:
251
diff
changeset
|
117 table.dumpblogs td:nth-child(7) { |
256
e9b33033d95f
table.dumpblogs td {white-space: nowrap;}
HIROSE Yuuji <yuuji@gentei.org>
parents:
252
diff
changeset
|
118 min-width: 5em; overflow: hidden;} |
6 | 119 |
120 /********************* icon list *********************/ | |
121 div.iconlist { | |
122 text-align: center; float: left; margin: 1ex 1em; | |
123 border: dotted #dfd 2px; padding: 1ex; | |
124 } | |
125 div.iconlist p {margin: 0; padding: 0;} | |
126 div.iconlist p.tag {background: #ffa; border-radius: 4em;} | |
19 | 127 div.iconlist p._temp {background: cyan;} |
128 div.iconlist p._lecture {background: pink;} | |
129 div.iconlist p._admin {background: yellow;} | |
130 div.iconlist p._friend {background: fuchsia;} | |
23 | 131 div.iconlist p._fellows {background: #9f9;} /* light green */ |
24 | 132 div.iconlist p._club {background: #4bb;} /* light teal */ |
23 | 133 div.iconlist p._event {background: maroon; color: white;} |
134 div.iconlist p._misc {background: purple; color: white;} | |
38 | 135 div.iconlist p._record {background: red; color: white;} |
190
ba6c2c3c0373
Add CSS for "info", "support" and "test" group.
HIROSE Yuuji <yuuji@gentei.org>
parents:
185
diff
changeset
|
136 div.iconlist p._info {background: #eff;} /* light cyan */ |
ba6c2c3c0373
Add CSS for "info", "support" and "test" group.
HIROSE Yuuji <yuuji@gentei.org>
parents:
185
diff
changeset
|
137 div.iconlist p._support {background: #ffe;} /* light yellow */ |
ba6c2c3c0373
Add CSS for "info", "support" and "test" group.
HIROSE Yuuji <yuuji@gentei.org>
parents:
185
diff
changeset
|
138 div.iconlist p._test {background: #ffb6c1;} /* light pink */ |
6 | 139 div.xy120x120 {min-width: 120px; min-height: 140px;} |
140 div.xy96x96 {min-width: 96px; min-height: 116px;} | |
141 div.xy50x50 {min-width: 50px; min-height: 70px;} | |
243
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
142 div.right, div.search {clear: both; float: right;} |
234 | 143 *.clear {clear: both;} |
243
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
144 div.search input[type="text"] { |
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
145 border: solid 1px #bbb; border-radius: 0.5ex; min-height: 20px; |
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
146 margin: 1em; padding: 0 0.5ex; padding-left: 18px; |
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
147 background: url("../../img/loupe.png") left center no-repeat |
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
148 rgba(242,240,240,0.7); |
466ea3e4b039
Search box localted to the top of home page.
HIROSE Yuuji <yuuji@gentei.org>
parents:
241
diff
changeset
|
149 } |
126 | 150 |
151 /* | |
152 * PR Web | |
153 */ | |
154 body.pr {font-size: 200%;} | |
155 body.pr h1 { | |
156 text-align: center; width: 80%; padding: 3ex 0; margin: 0 auto; | |
157 background: #ffefef; border: double 5px navy; | |
158 } |