Tweak CSS

This commit is contained in:
Andrey Golovizin 2020-02-16 17:23:18 +01:00
parent a931b6db8a
commit fca884f0ff
4 changed files with 19 additions and 6 deletions

View file

@ -5,11 +5,11 @@
@tailwind utilities;
html {
font-size: 12pt;
font-size: 14pt;
}
p {
@apply leading-normal mt-2 mb-2;
@apply leading-normal mt-3 mb-3;
}
h1, h2, h3, h4, h5, h6 {
@ -32,6 +32,19 @@ 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%;
@ -47,7 +60,7 @@ h4 {
@apply m-0 p-0 list-none;
}
#page-nav ul li {
@apply inline-block p-3 text-lg;
@apply inline-block m-0 p-3 text-lg
}
#page-nav ul li a {
@apply text-white no-underline;

File diff suppressed because one or more lines are too long

View file

@ -15,7 +15,7 @@ module.exports = {
'sm': '640px',
// => @media (min-width: 640px) { ... }
'lg': '900px',
'lg': '800px',
}
}
}

View file

@ -9,7 +9,7 @@
</head>
<body>
{% cms_toolbar %}
<div class="container mx-auto">
<div class="container mx-auto my-8">
<h1>Инженер-строитель В.&#8239Н.&#8239Головизин</h1>
<nav id="page-nav" class="bg-green-800 block mt-6 mb-6">
<label for="hamburger" class="hidden">&#9776;</label>