-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
executable file
·129 lines (112 loc) · 2.12 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap');
body {
font-family: 'Roboto Mono', monospace;
font-weight: 300;
padding: 1em 3em;
}
h1 {
text-transform: uppercase;
font-weight: 300;
}
.status {
background: #ef4e4e;
color: white;
font-weight: bolder;
padding: 7px;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
font-size: 1em;
position: relative;
}
#results {
margin-top: 0;
}
main {
display: grid;
grid-gap: 30px;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
grid-auto-rows: max-content;
grid-auto-flow: row dense;
}
.select {
position: relative;
display: flex;
align-items: center;
}
select {
font-family: 'Roboto Mono', monospace;
border: .2em solid black;
border-radius: 0;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
padding: 1em;
}
.select:after {
content: "\25BC";
display: block;
position: absolute;
right: 20px;
cursor: pointer;
pointer-events: none;
}
.search-bar {
flex-grow: .9;
}
.search-bar input {
width: 100%;
font-family: 'Roboto Mono', monospace;
border: .2em solid black;
font-size: 15px;
padding: 8px;
}
.search-bar input:focus {
outline-color: transparent;
outline-style: none;
}
/* select::after {
content: "\25BC";
display: block;
position: absolute;
top: 0;
right: 0;
padding: 0 1em;
background: #34495e;
cursor: pointer;
pointer-events: none;
-webkit-transition: .25s all ease;
-o-transition: .25s all ease;
transition: .25s all ease;
height: 40px;
width: 40px;
} */
.article {
word-wrap: break-word;
background-color: #fff;
background-clip: border-box;
border: 1px solid rgba(0, 0, 0, .125);
border-radius: .25rem;
box-shadow: 4px 6px 7px 1px rgba(0, 0, 0, 0.75);
}
.article-body {
padding: 1.25rem;
}
.article-title {
margin-bottom: .75rem;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.article a, .article a:visited {
text-decoration: none;
color: inherit;
}
.article img {
width: 100%;
height: 13em;
}