forked from EmilStenstrom/mybgg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
111 lines (108 loc) · 1.69 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
106
107
108
109
110
111
/* Main layout */
body {
max-width: 800px;
margin: 0 auto;
padding: 0 0.5em;
}
article {
display: flex;
}
main {
flex-grow: 1;
}
aside {
padding-left: 20px;
min-width: 200px;
}
/* Typography */
body {
color: #606c76;
font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
font-weight: 300;
font-size: 14px;
letter-spacing: .01em;
line-height: 1.2;
}
/* Components */
table {
border-collapse: collapse;
}
table th {
text-align: left;
white-space: nowrap;
}
table th, table td {
border: 1px solid #eee;
padding: 3px 4px;
}
details {
margin-bottom: 1em;
}
details summary {
display: flex;
cursor: pointer;
margin-bottom: 0.5em;
list-style-type: none;
}
details summary::-webkit-details-marker {
display: none;
}
details summary:focus {
outline: 1px dotted gray;
}
details .wrapper {
display: flex;
}
details .image {
flex-shrink: 0;
background-position: 50% 0;
background-size: cover;
background-repeat: no-repeat;
width: 50px;
height: 50px;
margin-right: 0.5em;
border: 1px solid #eee;
border-radius: 4px;
box-shadow: 0 1px 1px 0 rgba(85,95,110,.2);
}
details h2 {
align-self: center;
font-weight: 700;
}
details p {
margin-left: 4px;
white-space: pre-line;
}
.search-box {
margin-bottom: 1em;
}
aside h2 {
margin-top: 0;
}
aside .clear-all {
float: right;
margin-bottom: 1em;
}
.facet {
margin-bottom: 1em;
}
.facet .ais-show-more {
cursor: pointer;
color: gray;
font-size: 0.8em;
margin-left: 2.3em;
}
.facet .ais-show-more:after {
content: " »";
}
.hits {
margin-top: 1em;
}
.hits h2 {
display: inline-block;
margin: 0;
}
.hits strong {
background-color: #ffcdd2;
color: #c62828;
}