rev |
line source |
yuuji@6
|
1 /*
|
yuuji@6
|
2 * Default CSS definitions
|
yuuji@6
|
3 */
|
yuuji@6
|
4 body {background: #eff;}
|
yuuji@6
|
5 hr {clear: both;}
|
yuuji@6
|
6 div.topmenu {
|
yuuji@6
|
7 margin: 0; padding: 0; width: 100%; height: 2em;
|
yuuji@6
|
8 }
|
yuuji@6
|
9 div.topmenu ul {width: 100%; position: fixed; margin: 0;
|
yuuji@6
|
10 margin: 0 auto;}
|
yuuji@6
|
11 div.topmenu ul li {
|
yuuji@6
|
12 float: left; width: 18%;
|
yuuji@6
|
13 background: rgba(68,255,102,0.8); border: #3e5 2px groove; margin: 0;
|
yuuji@6
|
14 text-align: center; font-size: 80%; list-style: none;
|
yuuji@6
|
15 box-shadow: #242 2px 3px 5px;
|
yuuji@6
|
16 text-shadow: #fff 0px 0px 10px;
|
yuuji@6
|
17 }
|
yuuji@6
|
18 div.topmenu ul li:hover {background: #8fa;}
|
yuuji@6
|
19 div.topmenu ul a {text-decoration: none;}
|
yuuji@6
|
20
|
yuuji@6
|
21 ldiv.topmenu + h1 {clear: both; margin-top: 3em;}
|
yuuji@6
|
22
|
yuuji@6
|
23 div.dumptable {max-height: 15em; overflow: auto;}
|
yuuji@6
|
24
|
yuuji@6
|
25 td {padding-left: 0.5ex; padding-right: 0.5ex;}
|
yuuji@6
|
26 table.td2r td:nth-child(2) {text-align: right;}
|
yuuji@6
|
27 table.td3r td:nth-child(3) {text-align: right;}
|
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@6
|
31 td.warn {background: #fcc;}
|
yuuji@6
|
32 input[type="checkbox"][name="rm"]:checked ~ table {background: red;}
|
yuuji@6
|
33 input[type="checkbox"][name="rm"] ~ span {display: none;}
|
yuuji@6
|
34 input[type="checkbox"][name="rm"]:checked ~ span {display: inline;}
|
yuuji@6
|
35
|
yuuji@6
|
36 input[type="radio"][value="replace"] + input.replace[type="file"] {
|
yuuji@6
|
37 visibility: hidden;}
|
yuuji@6
|
38 input[type="radio"][value="replace"]:checked + input.replace[type="file"] {
|
yuuji@6
|
39 visibility: visible;
|
yuuji@6
|
40 }
|
yuuji@6
|
41
|
yuuji@6
|
42 /* keep/edit/rm action selector */
|
yuuji@6
|
43 input.action ~ input:not(.action), input.action ~ textarea {
|
yuuji@6
|
44 display: none;
|
yuuji@6
|
45 }
|
yuuji@6
|
46 input.action[value="edit"]:checked ~ input {display: inline;}
|
yuuji@6
|
47 input.action[value="edit"]:checked ~ textarea {display: block;}
|
yuuji@6
|
48 input.action[value="edit"]:checked ~ span {display: none;}
|
yuuji@6
|
49 input.action[value="rm"]:checked ~ span {background: red;}
|
yuuji@6
|
50 label.confirm {display: none;}
|
yuuji@6
|
51 input.action[value="rm"]:checked ~ label.confirm {
|
yuuji@6
|
52 display: inline;
|
yuuji@6
|
53 }
|
yuuji@6
|
54
|
yuuji@6
|
55 form.replyblog {margin-bottom: 40%;}
|
yuuji@6
|
56 div.blogcomment {
|
yuuji@6
|
57 position: fixed; bottom: 0; left: 0;
|
yuuji@6
|
58 z-index: 2; background-color: rgba(250,222,222,0.8);
|
yuuji@6
|
59 }
|
yuuji@6
|
60 div.blogcomment * {opacity: 1.0;}
|
yuuji@6
|
61 table.bloghead, .bloghead tr, .bloghead td {
|
yuuji@6
|
62 border: 1px solid black; border-collapse: collapse;
|
yuuji@6
|
63 min-width: 30em;
|
yuuji@6
|
64 }
|
yuuji@6
|
65 table.bloghead tr:nth-child(2) {
|
yuuji@6
|
66 font-size: 150%; background: yellow; text-align: center;
|
yuuji@6
|
67 }
|
yuuji@6
|
68 table.bloghead {margin-bottom: 1em;}
|
yuuji@6
|
69
|
yuuji@6
|
70 table.blog_replies, .blog_replies tr, .blog_replies td {
|
yuuji@6
|
71 border: 1px solid black; border-collapse: collapse;
|
yuuji@6
|
72 white-space: pre;
|
yuuji@6
|
73 }
|
yuuji@6
|
74 .blog_replies td:nth-child(2) {
|
yuuji@6
|
75 vertical-align: top; min-width: 30em; height: 3em;
|
yuuji@6
|
76 }
|
yuuji@6
|
77
|
yuuji@6
|
78 div.fold {margin-top: 1em; border-top: 1px solid black; padding-top: 1em;}
|
yuuji@6
|
79 div.fold > div {
|
yuuji@32
|
80 xxdisplay: none; max-height: 80%; overflow: auto;
|
yuuji@30
|
81 height: 0px; opacity: 0; padding: 0 1ex;
|
yuuji@6
|
82 }
|
yuuji@30
|
83 div.fold input[type="checkbox"]:checked ~ div {
|
yuuji@30
|
84 display: block; background: #eef;
|
yuuji@30
|
85 height: auto; opacity: 1.0; transition: 1s;
|
yuuji@30
|
86 }
|
yuuji@6
|
87
|
yuuji@6
|
88 /********************* icon list *********************/
|
yuuji@6
|
89 div.iconlist {
|
yuuji@6
|
90 text-align: center; float: left; margin: 1ex 1em;
|
yuuji@6
|
91 border: dotted #dfd 2px; padding: 1ex;
|
yuuji@6
|
92 }
|
yuuji@6
|
93 div.iconlist p {margin: 0; padding: 0;}
|
yuuji@6
|
94 div.iconlist p.tag {background: #ffa; border-radius: 4em;}
|
yuuji@19
|
95 div.iconlist p._temp {background: cyan;}
|
yuuji@19
|
96 div.iconlist p._lecture {background: pink;}
|
yuuji@19
|
97 div.iconlist p._admin {background: yellow;}
|
yuuji@19
|
98 div.iconlist p._friend {background: fuchsia;}
|
yuuji@23
|
99 div.iconlist p._fellows {background: #9f9;} /* light green */
|
yuuji@24
|
100 div.iconlist p._club {background: #4bb;} /* light teal */
|
yuuji@23
|
101 div.iconlist p._event {background: maroon; color: white;}
|
yuuji@23
|
102 div.iconlist p._misc {background: purple; color: white;}
|
yuuji@38
|
103 div.iconlist p._record {background: red; color: white;}
|
yuuji@6
|
104 div.xy120x120 {min-width: 120px; min-height: 140px;}
|
yuuji@6
|
105 div.xy96x96 {min-width: 96px; min-height: 116px;}
|
yuuji@6
|
106 div.xy50x50 {min-width: 50px; min-height: 70px;}
|
yuuji@6
|
107 div.right {clear: both; float: right;}
|