-
Notifications
You must be signed in to change notification settings - Fork 0
/
catalog.css.scss
47 lines (34 loc) · 1.14 KB
/
catalog.css.scss
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
.topic-marker {
background-color: $hot-highlight; color: white;
padding: 3px 6px 3px 6px; border-radius: 5px; display: inline-block; vertical-align: middle;
}
.catalog a {
display: inline-block; width: 100%;
&:hover {
text-decoration: none;
.catalog-entry-info {
background-color: $medium-highlight;
h2, p, li, .includes-tool { color: white; }
}
}
}
.catalog-entry {
margin: 0 0 2em 0; border-bottom: 1px solid $light-muted; padding-bottom: 2em; position: relative;
img:first-child { width: 450px; float: right; margin-right: 32px; background-color: $calm-backdrop; }
}
.catalog-entry-info {
width: 500px; padding: 10px 10px 0 10px; background-color: white;
h2 { margin-bottom: 15px; }
}
.attention-flag { background-color: rgba(0, 0, 0, 0); width: 110px; position: absolute; top: 10px; right: -2px; }
@media all and (min-width: 900px) {
.catalog-entry-info { height: 294px; }
}
@media all and (max-width: 900px) {
.catalog-entry {
width: 100%;
img:first-child { width: 100%; float: none; }
}
.catalog-entry-info { width: 100%; padding: 15px 0 15px 0; }
.attention-flag { display: none; }
}