rev |
line source |
yuuji@6
|
1 /*
|
yuuji@6
|
2 * Default CSS definitions
|
yuuji@6
|
3 */
|
yuuji@6
|
4 body {background: #eff;}
|
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@6
|
72 table.bloghead tr:nth-child(2) {
|
yuuji@6
|
73 font-size: 150%; background: yellow; text-align: center;
|
yuuji@6
|
74 }
|
yuuji@6
|
75 table.bloghead {margin-bottom: 1em;}
|
yuuji@6
|
76
|
yuuji@6
|
77 table.blog_replies, .blog_replies tr, .blog_replies td {
|
yuuji@6
|
78 border: 1px solid black; border-collapse: collapse;
|
yuuji@185
|
79 white-space: pre-wrap;
|
yuuji@6
|
80 }
|
yuuji@219
|
81 table.blog_replies+p.update_link {margin-top: 0; margin-bottom: 14em;}
|
yuuji@6
|
82 .blog_replies td:nth-child(2) {
|
yuuji@6
|
83 vertical-align: top; min-width: 30em; height: 3em;
|
yuuji@185
|
84 max-width: 50em;
|
yuuji@6
|
85 }
|
yuuji@251
|
86 .blog_replies iframe {
|
yuuji@251
|
87 width: 400px; height: 300px; max-width: 50em; max-height: 20em;
|
yuuji@251
|
88 padding: 0; border: 0;
|
yuuji@251
|
89 }
|
yuuji@146
|
90 p.profimg {float: left; max-width: 400px; max-height: 400px;
|
yuuji@146
|
91 overflow: hidden; margin-right: 1em;
|
yuuji@146
|
92 padding: 0; border: white 1px solid; box-shadow: 2px 3px 4px
|
yuuji@146
|
93 }
|
yuuji@149
|
94 p.profimg img {max-width: 400px;}
|
yuuji@146
|
95 div.home+* {clear: both;}
|
yuuji@6
|
96
|
yuuji@6
|
97 div.fold {margin-top: 1em; border-top: 1px solid black; padding-top: 1em;}
|
yuuji@237
|
98 div.noborder {border: 0px; margin: 0;}
|
yuuji@6
|
99 div.fold > div {
|
yuuji@32
|
100 xxdisplay: none; max-height: 80%; overflow: auto;
|
yuuji@30
|
101 height: 0px; opacity: 0; padding: 0 1ex;
|
yuuji@6
|
102 }
|
yuuji@59
|
103 div.fold input[type="checkbox"]:checked ~ div,
|
yuuji@59
|
104 div.fold input[type="radio"]:checked ~ div {
|
yuuji@193
|
105 display: block; background: #fadede;
|
yuuji@30
|
106 height: auto; opacity: 1.0; transition: 1s;
|
yuuji@30
|
107 }
|
yuuji@199
|
108 div.dumptable {max-height: 15em; overflow: auto;}
|
yuuji@252
|
109 table.td4fw td:nth-child(4) {max-width: 8em; white-space: nowrap; overflow: hidden;}
|
yuuji@252
|
110 table.td67fw {max-width: 9%;}
|
yuuji@252
|
111 table.dumpblogs td:nth-child(4) {
|
yuuji@252
|
112 max-width: 7.6em; white-space: nowrap; overflow: hidden;}
|
yuuji@252
|
113 table.dumpblogs td:nth-child(5),
|
yuuji@252
|
114 table.dumpblogs td:nth-child(6) {
|
yuuji@252
|
115 max-width: 12em; white-space: nowrap; overflow: hidden;}
|
yuuji@252
|
116 table.dumpblogs td:nth-child(7) {
|
yuuji@252
|
117 min-width: 5em; white-space: nowrap; overflow: hidden;}
|
yuuji@6
|
118
|
yuuji@6
|
119 /********************* icon list *********************/
|
yuuji@6
|
120 div.iconlist {
|
yuuji@6
|
121 text-align: center; float: left; margin: 1ex 1em;
|
yuuji@6
|
122 border: dotted #dfd 2px; padding: 1ex;
|
yuuji@6
|
123 }
|
yuuji@6
|
124 div.iconlist p {margin: 0; padding: 0;}
|
yuuji@6
|
125 div.iconlist p.tag {background: #ffa; border-radius: 4em;}
|
yuuji@19
|
126 div.iconlist p._temp {background: cyan;}
|
yuuji@19
|
127 div.iconlist p._lecture {background: pink;}
|
yuuji@19
|
128 div.iconlist p._admin {background: yellow;}
|
yuuji@19
|
129 div.iconlist p._friend {background: fuchsia;}
|
yuuji@23
|
130 div.iconlist p._fellows {background: #9f9;} /* light green */
|
yuuji@24
|
131 div.iconlist p._club {background: #4bb;} /* light teal */
|
yuuji@23
|
132 div.iconlist p._event {background: maroon; color: white;}
|
yuuji@23
|
133 div.iconlist p._misc {background: purple; color: white;}
|
yuuji@38
|
134 div.iconlist p._record {background: red; color: white;}
|
yuuji@190
|
135 div.iconlist p._info {background: #eff;} /* light cyan */
|
yuuji@190
|
136 div.iconlist p._support {background: #ffe;} /* light yellow */
|
yuuji@190
|
137 div.iconlist p._test {background: #ffb6c1;} /* light pink */
|
yuuji@6
|
138 div.xy120x120 {min-width: 120px; min-height: 140px;}
|
yuuji@6
|
139 div.xy96x96 {min-width: 96px; min-height: 116px;}
|
yuuji@6
|
140 div.xy50x50 {min-width: 50px; min-height: 70px;}
|
yuuji@243
|
141 div.right, div.search {clear: both; float: right;}
|
yuuji@234
|
142 *.clear {clear: both;}
|
yuuji@243
|
143 div.search input[type="text"] {
|
yuuji@243
|
144 border: solid 1px #bbb; border-radius: 0.5ex; min-height: 20px;
|
yuuji@243
|
145 margin: 1em; padding: 0 0.5ex; padding-left: 18px;
|
yuuji@243
|
146 background: url("../../img/loupe.png") left center no-repeat
|
yuuji@243
|
147 rgba(242,240,240,0.7);
|
yuuji@243
|
148 }
|
yuuji@126
|
149
|
yuuji@126
|
150 /*
|
yuuji@126
|
151 * PR Web
|
yuuji@126
|
152 */
|
yuuji@126
|
153 body.pr {font-size: 200%;}
|
yuuji@126
|
154 body.pr h1 {
|
yuuji@126
|
155 text-align: center; width: 80%; padding: 3ex 0; margin: 0 auto;
|
yuuji@126
|
156 background: #ffefef; border: double 5px navy;
|
yuuji@126
|
157 }
|