mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
111 lines
1.8 KiB
CSS
111 lines
1.8 KiB
CSS
/* Typography */
|
|
.h1 {
|
|
@apply text-5xl font-bold;
|
|
}
|
|
|
|
.h2 {
|
|
@apply text-4xl font-bold;
|
|
}
|
|
|
|
.h3 {
|
|
@apply text-3xl font-bold;
|
|
}
|
|
|
|
.h4 {
|
|
@apply text-2xl font-bold;
|
|
}
|
|
|
|
@screen md {
|
|
.h1 {
|
|
@apply text-6xl;
|
|
}
|
|
|
|
.h2 {
|
|
@apply text-5xl;
|
|
}
|
|
|
|
.h3 {
|
|
@apply text-4xl;
|
|
}
|
|
}
|
|
|
|
/* Inline code, styled like GitHub's with a visible border. */
|
|
code {
|
|
@apply font-mono text-[0.85em] text-zinc-700 bg-zinc-100 border border-zinc-200 rounded-md px-[0.4em] py-[0.1em] whitespace-nowrap;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn,
|
|
.btn-sm {
|
|
@apply text-sm font-medium inline-flex items-center justify-center border border-transparent rounded-md tracking-normal transition;
|
|
}
|
|
|
|
.btn {
|
|
@apply px-4 py-2;
|
|
}
|
|
|
|
.btn-sm {
|
|
@apply px-2 py-1;
|
|
}
|
|
|
|
/* Forms */
|
|
input[type="search"]::-webkit-search-decoration,
|
|
input[type="search"]::-webkit-search-cancel-button,
|
|
input[type="search"]::-webkit-search-results-button,
|
|
input[type="search"]::-webkit-search-results-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
.form-input,
|
|
.form-textarea,
|
|
.form-multiselect,
|
|
.form-select,
|
|
.form-checkbox,
|
|
.form-radio {
|
|
@apply bg-white border border-zinc-200 focus:border-zinc-400 shadow shadow-black/5;
|
|
}
|
|
|
|
.form-input,
|
|
.form-textarea,
|
|
.form-multiselect,
|
|
.form-select,
|
|
.form-checkbox {
|
|
@apply rounded;
|
|
}
|
|
|
|
.form-input,
|
|
.form-textarea,
|
|
.form-multiselect,
|
|
.form-select {
|
|
@apply text-zinc-600 text-sm px-4 py-2;
|
|
}
|
|
|
|
.form-input,
|
|
.form-textarea {
|
|
@apply placeholder-zinc-400;
|
|
}
|
|
|
|
.form-select {
|
|
@apply pr-10;
|
|
}
|
|
|
|
.form-checkbox,
|
|
.form-radio {
|
|
@apply text-zinc-800;
|
|
}
|
|
|
|
.form-checkbox {
|
|
@apply rounded-sm;
|
|
}
|
|
|
|
/* Chrome, Safari and Opera */
|
|
.no-scrollbar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.no-scrollbar {
|
|
-ms-overflow-style: none;
|
|
/* IE and Edge */
|
|
scrollbar-width: none;
|
|
/* Firefox */
|
|
} |