s4

view templ/default/default.css @ 20:5be0c2d76f27

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