strojnadzor/src/strojnadzor/static-src/style.css
Andrey Golovizin fca884f0ff Tweak CSS
2020-02-16 17:23:18 +01:00

128 lines
1.8 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
html {
font-size: 14pt;
}
p {
@apply leading-normal mt-3 mb-3;
}
h1, h2, h3, h4, h5, h6 {
@apply font-bold;
}
h1 {
@apply text-4xl mt-6;
}
h2 {
@apply text-3xl mt-4;
}
h3 {
@apply text-2xl mt-2;
}
h4 {
@apply text-xl mt-1;
}
ul {
@apply list-disc list-inside ml-4;
}
ol {
@apply list-decimal list-inside ml-4;
}
ul li, ol li {
@apply my-3;
}
.content {
float: left;
width: 80%;
}
.sidebar {
float: left;
width: 20%;
}
/* Menu Items */
#page-nav ul {
@apply m-0 p-0 list-none;
}
#page-nav ul li {
@apply inline-block m-0 p-3 text-lg
}
#page-nav ul li a {
@apply text-white no-underline;
}
#page-nav ul li.selected {
@apply bg-green-600;
}
/* [ON SMALL SCREENS] */
@media screen and (max-width: 768px){
/* Show Hamburger */
#page-nav label {
display: inline-block;
/* color: #fff; */
/* background: #a02620; */
font-style: normal;
font-size: 1.2em;
padding: 10px;
}
/* Break down menu items into vertical */
#page-nav ul li {
display: block;
}
#page-nav ul li {
border-top: 1px solid #22543D;
}
/* Toggle show/hide menu on checkbox click */
#page-nav ul {
display: none;
}
#page-nav input:checked ~ ul {
display: block;
}
}
.contact-form fieldset {
border: none;
padding: 1em 0 0 0;
}
.contact-form fieldset p {
@apply inline-block text-red-700;
}
.contact-form textarea::placeholder, .contact-form input::placeholder {
@apply text-gray-700;
}
.contact-form input, .contact-form textarea {
@apply w-full border border-gray-600 p-2;
}
.contact-form textarea {
@apply h-64;
}
.contact-form label {
@apply hidden;
}
.contact-form button {
@apply p-2 bg-green-800 text-white rounded mt-2;
}