-
Notifications
You must be signed in to change notification settings - Fork 115
Expand file tree
/
Copy pathtutorials.module.css
More file actions
92 lines (75 loc) · 1.27 KB
/
tutorials.module.css
File metadata and controls
92 lines (75 loc) · 1.27 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
.text {
flex-basis: var(--col8);
& h2 {
margin-bottom: 0;
}
}
.list {
flex-basis: var(--col8);
margin: var(--vertical-margin-small) 0;
list-style: none;
}
.card {
flex-basis: var(--col2);
padding-top: var(--gutter);
padding-bottom: var(--gutter);
background-color: none;
transition: background-color 0.2s ease;
pointer-events: auto;
& a {
display: flex;
flex-direction: column;
}
& a:hover {
color: var(--black);
}
& h4 {
margin-bottom: 0;
}
}
.card:hover {
color: var(--black);
background-color: var(--lightgray);
}
.cover {
width: 100%;
background-color: var(--gray);
margin-bottom: var(--gutter);
}
.image {
height: 100px;
}
.author {
display: inline;
color: var(--darkergray);
}
.authorName {
color: var(--processing-blue-mid);
font-weight: 500;
}
.brief {
margin-top: var(--gutter-half);
color: inherit;
pointer-events: none;
}
.brief:hover {
color: inherit;
}
.level {
margin-top: var(--vertical-margin-xsmall);
font-size: var(--text-small);
color: var(--processing-blue-dark);
}
@media (--small) {
.text {
& h1 {
padding-top: var(--vertical-margin-large);
}
& h2 {
margin-top: var(--vertical-margin-large);
}
}
.card {
flex-basis: var(--col8);
}
}