Text is shown with line breaks as entered.
[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         white-space: pre-wrap;
70 }
71
72 #sone .post .status-line {
73         clear: both;
74         font-size: 85%;
75 }
76
77 #sone .post .time {
78         display: inline;
79         color: #666;
80 }
81
82 #sone .post .delete {
83         display: inline;
84 }
85
86 #sone .post .delete:before {
87         content: ' ‧ ';
88 }
89
90 #sone .post .replies {
91         clear: both;
92         padding-top: 0.2ex;
93 }
94
95 #sone .post .reply {
96         clear: both;
97         background-color: #eef;
98         font-size: 85%;
99         margin: 1ex 0px;
100         padding: 1ex;
101 }
102
103 #sone .post .reply .time {
104         float: none;
105         display: inline;
106         color: #666;
107         font-size: inherit;
108 }
109
110 #sone .post .show-reply-form {
111         display: inline;
112 }
113
114 #sone .post .show-reply-form:before {
115         content: ' ‧ ';
116 }
117
118 #sone .post .reply .status-line .delete {
119         float: none;
120         display: inline;
121 }
122
123 #sone .post .reply .status-line .delete:before {
124         content: ' · ';
125 }
126
127 #sone .post .create-reply {
128         clear: both;
129         background-color: #eef;
130         padding: 0.5ex;
131 }
132
133 #sone .post .create-reply.light button {
134         display: none;
135 }
136
137 #sone h1 {
138         font-family: inherit;
139         font-size: 200%;
140         font-weight: bold;
141 }
142
143 #sone .error label {
144         color: red;
145         font-weight: bold;
146 }
147
148 #sone input.createpost.default, input.reply-input.default {
149         color: #888;
150 }