-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathquestions.css.scss
More file actions
148 lines (130 loc) · 2.52 KB
/
questions.css.scss
File metadata and controls
148 lines (130 loc) · 2.52 KB
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
142
143
144
145
146
.questions, .question {
h1 {
line-height: 1.1;
margin-bottom: 0.15em;
}
.meta {
a {
font-style: italic;
}
font-style: italic;
padding-bottom: 0.75em;
}
}
.questions {
margin: 0;
li {
@include clearfix;
list-style-type: none;
padding-left: 2.5em;
padding-bottom: 1em;
border-bottom: 1px solid #ddd;
margin-bottom: 1em;
background: url("asked.png") 0 6px no-repeat;
.answer-count {
text-align: center;
font-size: 0.85em;
h3 {
margin: 0;
font-size: 2em;
}
@include columns(1);
padding: 6px
}
.summary {
@include columns(9, last);
h2 {
line-height: 1;
margin-bottom: 0.15em;
}
.description {
padding-right: 3em;
}
}
}
.unanswered {
.answer-count, .answer-count h3 {
color: $orangered;
}
}
.answered, .accepted {
.answer-count, .answer-count h3 {
color: $green - #333;
}
}
.accepted {
background-image: url("accepted.png");
}
}
.question {
p {
font-size: 1.15em;
line-height: 1.5;
margin-bottom: 1.25em;
}
h2 {
margin-top: 0.5em;
padding-bottom: 0.5em;
border-bottom: 1px solid #bbb;
}
.answers {
margin: 0 0 2em 0;
.answer {
@include clearfix;
position: relative;
list-style-type: none;
padding: 1em 1em;
border-bottom: 1px solid #ddd;
.choose {
float: left;
opacity: 0.5;
}
.links {
float: right;
padding-top: 0.75em;
a {
margin-left: 0.5em;
}
}
}
.answer:hover {
background-color: #f3f3f3;
.choose {
opacity: 1;
}
}
}
.selected-answer {
background: rgba(158, 183,68, 0.1) url("accepted.png") 99% 0.5em no-repeat;
}
}
.move_question {
float:right;
padding-top:4px;
}
.simple_captcha {
border: 1px solid #ccc; padding: 5px !important;
}
.simple_captcha, .simple_captcha div {
margin-left: 150px;
display: table;
}
.simple_captcha .simple_captcha_field, .simple_captcha .simple_captcha_image {
border: 1px solid #ccc;
margin: 0px 0px 2px 0px !important;
padding: 0px !important;
}
.simple_captcha .simple_captcha_image img {
margin: 0px !important;
padding: 0px !important;
width: 110px !important;
}
.simple_captcha .simple_captcha_label {
font-size: 12px;
}
.simple_captcha .simple_captcha_field input {
width: 150px !important;
font-size: 16px;
border: none;
background-color: #efefef;
}