This repository has been archived by the owner on Jul 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.css
135 lines (117 loc) · 2.95 KB
/
tailwind.config.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
/**
* This injects Tailwind's base styles, which is a combination of
* Normalize.css and some additional base styles.
*
* You can see the styles here:
* https://github.com/tailwindcss/tailwindcss/blob/master/css/preflight.css
*
* If using `postcss-import`, use this import instead:
*
* @import "tailwindcss/preflight";
*/
@tailwind preflight;
/**
* This injects any component classes registered by plugins.
*
* If using `postcss-import`, use this import instead:
*
* @import "tailwindcss/components";
*/
@tailwind components;
/**
* Here you would add any of your custom component classes; stuff that you'd
* want loaded *before* the utilities so that the utilities could still
* override them.
*
* Example:
*
* .btn { ... }
* .form-input { ... }
*
* Or if using a preprocessor or `postcss-import`:
*
* @import "components/buttons";
* @import "components/forms";
*/
/*Links*/
.navlink {
@apply mr-2 pb-1 px-2 border-b-2 border-transparent text-white text-sm font-bold text-center no-underline;
}
.navlink:hover {
@apply text-white border-teal-lightest no-underline;
}
.footerlink {
@apply text-brand-ondark font-bold no-underline;
}
.footerlink:hover {
@apply text-brand-alt font-bold no-underline;
}
a {
@apply text-brand underline;
}
a:hover {
@apply text-teal-dark underline;
}
/*Code syntax*/
.code {
@apply bg-grey-lighter p-1 text-grey-darkest font-mono shadow break-words;
}
/*Faux cmd window */
.window-nav {
@apply rounded-t border-t border-l border-r border-teal bg-teal px-4 py-2;
}
.window-nav-dot {
@apply inline-block rounded-full bg-grey-lightest h-3 w-3 mr-1;
}
.window-bg {
@apply relative bg-black text-white text-sm font-mono tracking-wide break-normal p-4;
}
/*Button*/
.btn {
@apply bg-brand text-white no-underline text-sm border-none rounded font-bold p-3 mt-2;
}
.btn:hover {
@apply bg-teal-dark text-white no-underline shadow;
}
.template-btn {
@apply block w-full bg-brand text-white text-sm border-none rounded font-bold fixed p-3 mt-2 relative pin-x pin-b;
}
.template-btn:hover {
@apply bg-teal no-underline;
}
/*Card*/
.card {
@apply bg-white rounded overflow-hidden shadow mx-2;
}
.card:hover {
@apply shadow-lg;
}
/**
* This injects all of Tailwind's utility classes, generated based on your
* config file.
*
* If using `postcss-import`, use this import instead:
*
* @import "tailwindcss/utilities";
*/
@tailwind utilities;
/**
* Here you would add any custom utilities you need that don't come out of the
* box with Tailwind.
*
* Example :
*
* .bg-pattern-graph-paper { ... }
* .skew-45 { ... }
*
* Or if using a preprocessor or `postcss-import`:
*
* @import "utilities/background-patterns";
* @import "utilities/skew-transforms";
*/
.nunito {
font-family: 'Nunito', Tahoma;
}
#post-content p {
padding-top: 0.7em;
}