-
Notifications
You must be signed in to change notification settings - Fork 0
/
input.css
127 lines (100 loc) · 2.59 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
@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 p {
@apply py-2 text-lg
}
.markdown ul {
@apply list-disc list-inside text-lg ms-3
}
.markdown ol {
@apply list-decimal list-inside ms-3
}
/* Ordered elements sometimes have a paragraph and even images inside it, need to change the display to inline */
.markdown ol p{
@apply inline
}
/* 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 li ul {
@apply list-disc list-inside text-lg ms-6
}
.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 pb-3;
}
.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;
}
}