Skip to content

Commit

Permalink
single post basic styling
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperf committed Dec 27, 2024
1 parent 8489dc3 commit 4b08791
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
39 changes: 39 additions & 0 deletions site/web/app/themes/nynaeve/resources/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,42 @@
@tailwind base;
@tailwind components;
@tailwind utilities;


/**
* typography
* -
*/


.e-content input,
.e-content textarea,
.e-content select,
.e-content pre,
.e-content blockquote,
.e-content figure,
.e-content table,
.e-content p,
.e-content ul,
.e-content ol,
.e-content dl,
.e-content form {
@apply mb-12; /* This replaces margin-bottom: $base-line-height */
}

/**
* Code
*/

code {
@apply text-xs whitespace-nowrap bg-gray-100 font-menlo;
}

pre > code {
@apply block whitespace-pre leading-4;
}

.wp-block-code {
@apply m-5 rounded-md bg-gray-100 pt-10 px-12 pb-12;
}

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<article @php(post_class('h-entry'))>
<article @php(post_class('h-entry container mx-auto'))>
<header>
<h1 class="p-name">
<h1 class="p-name font-open-sans font-semibold text-2xl text-black mb-8 antialiased">
{!! $title !!}
</h1>

Expand Down

0 comments on commit 4b08791

Please sign in to comment.