-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (93 loc) · 2.21 KB
/
style.css
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
html, body {
font-family: 'Open Sans', sans-serif;
height: 100%;
}
#ask-question input {
display: block;
margin: 1em 0 0 0;
padding-bottom: 0.2em;
border: none;
outline: none;
border-bottom: 2px solid #ececec;
background: transparent;
color: rgba(0,0,0,0.8);
font-size: 1.8em;
font-family: 'Open Sans', sans-serif;
line-height: 1;
transition: opacity: 0.3s;
-webkit-transition: opacity 0.3s;
width: 20em;
}
#ask-question input::-webkit-input-placeholder { color: #bebebe; }
#ask-question input::-moz-placeholder { color: #bebebe; }
#ask-question input:-moz-placeholder { color: #bebebe; }
#ask-question input:-ms-input-placeholder { color: #bebebe; }
#questions {
padding: 1em 0.5em;
}
#questions ul {
position: relative;
list-style-type: none;
margin: 0;
padding: 0;
}
#questions li {
position: absolute;
width: 100%;
max-height: 2.5em;
box-sizing: border-box;
margin: 0;
padding: 0;
font-size: 1.8em;
margin: 0 -0.4em;
padding: 0.5em 0.4em;
transition: background 0.3s, top 0.3s ease-in-out;
background: white;
text-overflow: ellipsis;
overflow: hidden;
border: thin solid transparent;
border-radius: 3px;
white-space: nowrap;
cursor: pointer;
}
#questions li:hover, #questions li:focus {
background: rgba(253, 251, 247, 1)
}
#questions li.expanded {
max-height: 5000em;
background: rgba(253,251,247,0.95);
overflow: visible;
white-space: normal;
border: thin solid rgb(224, 216, 216);
z-index: 2;
}
#questions li a.upvote {
position: relative;
display: inline-block;
width: 2em;
height: 2.5em;
text-align: center;
border-radius: 5px;
border: thin solid #dcdcdc;
font-size: 1.1rem;
vertical-align: bottom;
text-decoration: none;
margin-right: 0.8em;
margin-bottom: -0.15em;
background: white;
}
#questions li span.upvote-arrow {
position: absolute;
top: 0.3em;
left: 0.6em;
height: 0;
border-style: solid;
border-width: 0 7px 8px 7px;
border-color: transparent;
border-bottom-color: #c5c5c5;
}
#questions li span.points {
color: #222222;
display: block;
margin: 0.9em 0;
}