Only show reply form when “comment” is clicked.
[Sone.git] / src / main / resources / static / css / sone.css
1 /* Sone Main CSS File */
2
3 /* first, override some fproxy rules. */
4 #sone .post .reply div,#sone .post .time,#sone .post .delete,#sone .post .show-reply-form
5         {
6         font-size: inherit;
7 }
8
9 #sone form {
10         margin: 0px;
11 }
12
13 /* now for the real stuff. */
14
15 #sone {
16         width: 50em;
17         margin: auto;
18 }
19
20 #sone .hidden {
21         display: none;
22 }
23
24 #sone a {
25         color: inherit;
26         text-decoration: none;
27 }
28
29 #sone a:visited {
30         color: inherit;
31 }
32
33 #sone #sidebar {
34         width: 200px;
35         position: absolute;
36 }
37
38 #sone .profile-link {
39         font-weight: bold;
40         color: #23e;
41 }
42
43 #sone #profile .picture {
44         float: left;
45 }
46
47 #sone .nice-name {
48         font-weight: bold;
49 }
50
51 #sone #main {
52         margin-left: 200px;
53         padding-left: 1em;
54 }
55
56 #sone .post {
57         padding: 1ex 0px;
58         border-bottom: solid 1px #ccc;
59         margin-bottom: 1ex;
60 }
61
62 #sone .post .author {
63         display: inline;
64         font-weight: bold;
65 }
66
67 #sone .post .text {
68         display: inline;
69 }
70
71 #sone .post .status-line {
72         clear: both;
73         font-size: 85%;
74 }
75
76 #sone .post .time {
77         display: inline;
78         color: #666;
79 }
80
81 #sone .post .delete {
82         display: inline;
83 }
84
85 #sone .post .delete:before {
86         content: ' ‧ ';
87 }
88
89 #sone .post .replies {
90         clear: both;
91         padding-top: 0.2ex;
92 }
93
94 #sone .post .reply {
95         clear: both;
96         background-color: #eef;
97         font-size: 85%;
98         margin: 1ex 0px;
99         padding: 1ex;
100 }
101
102 #sone .post .reply .time {
103         float: none;
104         display: inline;
105         color: #666;
106         font-size: inherit;
107 }
108
109 #sone .post .show-reply-form {
110         display: inline;
111 }
112
113 #sone .post .show-reply-form:before {
114         content: ' ‧ ';
115 }
116
117 #sone .post .reply .status-line .delete {
118         float: none;
119         display: inline;
120 }
121
122 #sone .post .reply .status-line .delete:before {
123         content: ' · ';
124 }
125
126 #sone .post .create-reply {
127         clear: both;
128         background-color: #eef;
129         padding: 0.5ex;
130 }
131
132 #sone .post .create-reply.light button {
133         display: none;
134 }
135
136 #sone h1 {
137         font-family: inherit;
138         font-size: 200%;
139         font-weight: bold;
140 }
141
142 #sone .error label {
143         color: red;
144         font-weight: bold;
145 }
146
147 #sone input.createpost.default, input.reply-input.default {
148         color: #888;
149 }