-
Notifications
You must be signed in to change notification settings - Fork 1
/
input.css
149 lines (116 loc) · 3.04 KB
/
input.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer components {
.markdown h1 {
@apply text-4xl py-4 font-black text-green-kelp
}
.markdown h2 {
@apply text-3xl py-4 font-black text-green-kelp
}
.markdown h3 {
@apply text-2xl py-2 font-black text-green-kelp
}
.markdown h3 > a{
@apply text-2xl py-2 font-black text-green-kelp
}
.markdown h4 {
@apply text-xl py-2 font-black
}
.markdown h5 {
@apply text-lg py-2 font-black
}
.markdown p {
@apply py-2 text-lg
}
.markdown ul {
@apply list-disc list-outside text-lg ms-6
}
.markdown ol {
@apply list-decimal list-outside text-lg ms-6
}
/* Ordered elements sometimes have a paragraph and even images inside it, need to change the display to inline */
.markdown ol p {
@apply inline
}
.markdown li {
@apply ps-2
}
/* Nested list items look nicer with different bullets, but tailwind doesn't support them */
.markdown li ul {
list-style-type: circle;
}
.markdown li li ul {
list-style-type: square;
}
/* Footnote element followed by a paragraph need to to change the display to inline. */
.markdown .footnote-definition p {
@apply inline bg-gray-50 text-xs text-gray-500 ms-2
}
/* Style Alerts/Blockquote */
.markdown blockquote {
@apply bg-gray-100 p-3 rounded-lg my-2
}
.markdown b {
@apply font-bold
}
.markdown a {
@apply text-blue-mariner underline hover:no-underline
}
.markdown a.zola-anchor {
@apply no-underline -ms-6 me-2 text-gray-100 hover:text-gray-500
}
.markdown img {
@apply mx-auto;
}
.markdown code {
@apply text-green-kelp ms-1 me-1 font-mono text-sm bg-gray-50
}
.markdown pre > code {
@apply text-gray-500 ms-1 me-1 font-mono text-sm bg-transparent
}
/** Table **/
.markdown tbody tr {
@apply border-b-2 border-gray-100 align-text-top;
}
.markdown thead tr {
@apply border-b-2 border-gray-700;
}
.markdown thead th {
@apply px-2 pb-3 text-left;
}
.markdown tbody td {
@apply px-2 pt-1 pb-2;
}
.markdown button {
@apply block bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded mx-auto
}
/* megamenu customization */
.megamenu {
background: rgba(1, 47, 70, 0.99);
}
/* style the search modal content */
.search_section {
@apply text-blue-mariner block
}
.search_description {
@apply block mb-3 text-sm text-gray-600
}
/* width */
::-webkit-scrollbar {
width: 5px;
}
/* Track */
::-webkit-scrollbar-track {
background: #ffffff;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #b6b5b5;
/* border-radius: 5px; */
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #b6b5b5;
}
}