summaryrefslogtreecommitdiffstats
path: root/res/main.css
blob: b31b26ee8a7f764bea10c0d8d302bf30dd90cb54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
body {
	margin: 8px;
}
.mainHeader {
	margin: -8px -8px 0 -8px;
	padding: 8px;
	border-bottom: 1px solid rgba(0,0,0,.24);
	box-shadow: 0 1px 3px rgba(0,0,0,.24);
}
.mainHeader:after {
	content: "";
	clear: both;
	display: block;
}
.mainHeader > .left {
	float: left;
}
.mainHeader > .right {
	float: right;
}

.actionList > * {
	margin-right: .5em;
}

.siteName {
	font-weight: bold;
	font-size: 1.2em;
	margin-right: 1em;
}

.errorBox, .infoBox {
	padding: .5em;
	display: inline-block;
	margin-top: .5em;
	margin-bottom: .5em;
}

.errorBox {
	background-color: #FF6D00;
}

.infoBox {
	background-color: #80D8FF;
}

.communitySidebar {
	float: right;
	width: 300px;
}

.communitySidebar > h2 {
	margin-bottom: 0;
}

.notification-item.unread {
	border-left: 5px solid #FDD835;
	padding-left: 5px;
}

.sortOptions {
	margin-top: 1em;
}

.sortOptions > * {
	margin-right: .5em;
}

.preview {
	margin-top: 1em;
	border: 1px dashed black;
}

.icon {
	height: 1.2em;
	display: inline;
	vertical-align: text-bottom;
}

.iconbutton {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}

.votebox {
	float: left;
	margin-right: .5em;
}

.comment > .content {
	overflow-x: auto;
}

.commentList {
	margin-top: .5em;
	list-style-type: none;
}

.commentList.topLevel {
	padding-left: 0;
}

form.inline {
	display: inline-block;
}

@media (max-width: 768px) {
	.communitySidebar {
		display: none; /* TODO still show this somewhere */
	}
}