s4

view examples/common/default/default.css @ 193:5d83ff0bbd40

Comment area modified
author HIROSE Yuuji <yuuji@gentei.org>
date Sat, 23 Apr 2016 23:10:23 +0859
parents ba6c2c3c0373
children d0a5ffc2cabf
line source
1 /*
2 * Default CSS definitions
3 */
4 body {background: #eff;}
5 hr {clear: both;}
6 *.warn {color: red;}
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;}
22 ldiv.topmenu + h1 {clear: both; margin-top: 3em;}
24 div.dumptable {max-height: 15em; overflow: auto;}
26 td {padding-left: 0.5ex; padding-right: 0.5ex;}
27 table.td2r td:nth-child(2) {text-align: right;}
28 table.td3r td:nth-child(3) {text-align: right;}
29 table.form, table.b, table.b tr, table.b td, table.b th {
30 border: 1px solid black; border-collapse: collapse;
31 }
32 table.b, table.bloghead {
33 border-radius: 1ex; box-shadow: rgb(250,222,222) 1px 2px 3px;
34 }
35 td.warn {background: #fcc;}
36 input[type="checkbox"][name="rm"]:checked ~ table {background: red;}
37 input[type="checkbox"][name="rm"] ~ span {display: none;}
38 input[type="checkbox"][name="rm"]:checked ~ span {display: inline;}
40 input[type="radio"][value="replace"] + input.replace[type="file"] {
41 visibility: hidden;}
42 input[type="radio"][value="replace"]:checked + input.replace[type="file"] {
43 visibility: visible;
44 }
45 label.admin span {border-bottom: 1px solid blue;}
46 label.admin:after {content: "(ADMIN)"; color: red; text-decoration: none;}
48 /* keep/edit/rm action selector */
49 input.action ~ input:not(.action), input.action ~ textarea {
50 display: none;
51 }
52 input.action[value="edit"]:checked ~ input {display: inline;}
53 input.action[value="edit"]:checked ~ textarea {display: block;}
54 input.action[value="edit"]:checked ~ span {display: none;}
55 input.action[value="rm"]:checked ~ span {background: red;}
56 label.confirm {display: none;}
57 input.action[value="rm"]:checked ~ label.confirm {
58 display: inline;
59 }
61 form.replyblog {margin-bottom: 40%;}
62 div.blogcomment {
63 position: fixed; bottom: 0; left: 0;
64 z-index: 2; background-color: rgba(250,222,222,0.6);
65 }
66 div.blogcomment * {opacity: 1.0;}
67 table.bloghead, .bloghead tr, .bloghead td {
68 border: 1px solid black; border-collapse: collapse;
69 min-width: 30em;
70 }
71 table.bloghead tr:nth-child(2) {
72 font-size: 150%; background: yellow; text-align: center;
73 }
74 table.bloghead {margin-bottom: 1em;}
76 table.blog_replies, .blog_replies tr, .blog_replies td {
77 border: 1px solid black; border-collapse: collapse;
78 white-space: pre-wrap;
79 }
80 .blog_replies td:nth-child(2) {
81 vertical-align: top; min-width: 30em; height: 3em;
82 max-width: 50em;
83 }
84 p.profimg {float: left; max-width: 400px; max-height: 400px;
85 overflow: hidden; margin-right: 1em;
86 padding: 0; border: white 1px solid; box-shadow: 2px 3px 4px
87 }
88 p.profimg img {max-width: 400px;}
89 div.home+* {clear: both;}
91 div.fold {margin-top: 1em; border-top: 1px solid black; padding-top: 1em;}
92 div.fold > div {
93 xxdisplay: none; max-height: 80%; overflow: auto;
94 height: 0px; opacity: 0; padding: 0 1ex;
95 }
96 div.fold input[type="checkbox"]:checked ~ div,
97 div.fold input[type="radio"]:checked ~ div {
98 display: block; background: #fadede;
99 height: auto; opacity: 1.0; transition: 1s;
100 }
102 /********************* icon list *********************/
103 div.iconlist {
104 text-align: center; float: left; margin: 1ex 1em;
105 border: dotted #dfd 2px; padding: 1ex;
106 }
107 div.iconlist p {margin: 0; padding: 0;}
108 div.iconlist p.tag {background: #ffa; border-radius: 4em;}
109 div.iconlist p._temp {background: cyan;}
110 div.iconlist p._lecture {background: pink;}
111 div.iconlist p._admin {background: yellow;}
112 div.iconlist p._friend {background: fuchsia;}
113 div.iconlist p._fellows {background: #9f9;} /* light green */
114 div.iconlist p._club {background: #4bb;} /* light teal */
115 div.iconlist p._event {background: maroon; color: white;}
116 div.iconlist p._misc {background: purple; color: white;}
117 div.iconlist p._record {background: red; color: white;}
118 div.iconlist p._info {background: #eff;} /* light cyan */
119 div.iconlist p._support {background: #ffe;} /* light yellow */
120 div.iconlist p._test {background: #ffb6c1;} /* light pink */
121 div.xy120x120 {min-width: 120px; min-height: 140px;}
122 div.xy96x96 {min-width: 96px; min-height: 116px;}
123 div.xy50x50 {min-width: 50px; min-height: 70px;}
124 div.right {clear: both; float: right;}
125 *.clear {cloear: both;}
127 /*
128 * PR Web
129 */
130 body.pr {font-size: 200%;}
131 body.pr h1 {
132 text-align: center; width: 80%; padding: 3ex 0; margin: 0 auto;
133 background: #ffefef; border: double 5px navy;
134 }