aboutsummaryrefslogtreecommitdiff
path: root/src/input.css
blob: ba1be60eb81075b91770fd3d4a15175806851154 (plain) (blame)
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
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ARTICLES BASIC ELEMENTS */

/** Pre */

article pre {
  @apply p-4 rounded-md my-4 border-l-4 border-garage-gray shadow-lg whitespace-pre-wrap;
}

/** Tables */

article table {
  @apply my-4 min-w-full divide-y divide-gray-200 shadow overflow-hidden border-b border-gray-200 sm:rounded-lg;
}

article table thead {
  @apply bg-gray-50;
}

article table tbody {
  @apply bg-white divide-y divide-gray-200;
}

article table thead tr th {
  @apply px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider;
}

article table tbody tr td {
  @apply px-6 py-4 whitespace-nowrap;
}

/** Blockquotes */

article blockquote {
  @apply my-2 py-2 pl-4 border-l-4 border-garage-orange;
}

/** Ul */

article ul {
  @apply py-4 list-disc ml-4;
}

article ul ul {
  @apply ml-4 py-0 list-disc;
}

article ul ol {
  @apply ml-4 py-0 list-decimal;
}

/** Ol */

article ol {
  @apply py-4 list-decimal ml-4;
}

article ol ol {
  @apply ml-4 py-0 list-decimal;
}

article ol ul {
  @apply ml-4 py-0 list-disc;
}

p > code {
  @apply bg-gray-100 p-1 rounded font-semibold text-garage-gray shadow-inner;
}

.page-content > h1 {
  @apply text-2xl mt-6 mb-4 font-semibold text-gray-800;
}

.page-content > h2 {
  @apply text-xl mt-6 mb-4 font-semibold text-gray-800;
}

.page-content > h3 {
  @apply text-lg mt-6 mb-4 font-semibold text-gray-800;
}

.page-content > p {
  @apply text-garage-gray;
}

.page-content a {
  @apply font-semibold text-garage-orange border-b hover:border-garage-gray px-0.5 border-garage-orange bg-transparent hover:bg-garage-orange hover:text-white hover:rounded-sm hover:no-underline duration-150 transition;
}

.is-active {
  @apply text-orange-600;
}