summaryrefslogtreecommitdiffstats
path: root/res/main.css
blob: 36359f5d00ce84f3639067f4a51c959b5ee169c1 (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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
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);
	background-color: #81D4FA;
}
.mainHeader:after {
	content: "";
	clear: both;
	display: block;
}
.mainHeader > .left {
	float: left;
}
.mainHeader > .right {
	float: right;
}
.mainHeader a {
	text-decoration: none;
	color: black;
}
.mainHeader a:hover {
	text-decoration: underline;
}
.mainHeader .actionList.left > * {
	margin-right: 1em;
}

.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;
}

.titleLine {
	white-space: nowrap;
	display: flex;
	padding-right: .5em;
}
.titleLine > a {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-right: .5em;
}

form.inline {
	display: inline-block;
}

textarea {
	width: 30em;
	height: 7em;
}

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