-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
zine-entry.css
90 lines (74 loc) · 1.5 KB
/
zine-entry.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
@tailwind base;
@tailwind components;
@tailwind utilities;
.author-code {
padding: 2px;
margin: 0 2px;
@apply inline rounded;
@apply text-gray-500 !important;
}
.author-code:hover {
@apply bg-gray-200 no-underline !important;
}
.author-code>img {
margin: 0 !important;
margin-left: 2px !important;
@apply inline w-4 h-4 align-middle rounded-full object-cover;
}
.author-code>span{
vertical-align: middle;
}
.url-preview {
outline: #dee0e3 1px solid;
padding: 1rem 1.25rem;
background-color: #f5f6f7;
}
.url-preview>div:nth-child(1) {
font-weight: 500;
font-size: 1rem;
}
.url-preview>div:nth-child(2) {
color: #6b7078;
margin: 0.5rem 0;
font-size: 0.9rem;
}
.url-preview>a {
font-size: 0.8rem;
overflow: hidden;
display: block;
}
.url-preview>img {
margin-top: 1rem;
margin-bottom: 0;
}
.url-preview:hover {
outline: #dee0e3 2px solid;
cursor: pointer;
}
.prose p>img:hover {
outline: #dee0e3 2px solid;
cursor: zoom-out;
}
.callout {
padding: 0 20px;
margin: 20px 0;
border: 1px solid transparent;
border-radius: 4px;
}
.inline-link {
padding: 2px;
@apply inline rounded;
@apply font-bold text-black !important;
@apply underline decoration-primary !important;
}
.inline-link:hover {
@apply text-link !important;
}
/* auto center page's h1 heading */
.zine-page>h1 {
display: flex;
justify-content: center;
}
.toc-active {
@apply text-main bg-primary !important;
}