- 0) { + echo '
- '; + } + ?> - if ( is_archive() || is_home() ) { - printf( '%s', - esc_url( get_the_permalink() ), - esc_html( get_the_title() ) - ); - } else { - echo get_the_title(); - } ?> -Published on = get_the_date(); ?>
diff --git a/TODO.md b/TODO.md index 3754db3..0a3b557 100644 --- a/TODO.md +++ b/TODO.md @@ -13,7 +13,7 @@ - [ ] pore through template files to update theming - [X] ~~*initial front-page.php*~~ [2021-07-06] - [X] ~~*create social-icons working for front page*~~ [2021-07-06] - - [ ] create About page and suitable index.php modifications for it + - [X] ~~*create About page and suitable page.php for it & other generic pages*~~ [2021-07-06] - [ ] create some blog entries - [ ] create Blog page and is index.php also ok for it? - [ ] create Resume page and decide on using general or specific template diff --git a/assets/css/app.scss b/assets/css/app.scss index 0dd522f..8aa4d4d 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -13,6 +13,13 @@ /* Navbar custom styling */ @import "nav-bar-help"; + +.font-monospace { + font-family: $font-family-monospace; + font-weight: 300; + font-size: 15px; +} + /* main */ html, body { @@ -91,6 +98,9 @@ a { padding-top: 2px; padding-bottom: 2px; } +.mt--05r { + margin-top: -0.5rem; +} /* social icons */ #social-icons .link-light { @@ -101,3 +111,64 @@ a { } } +blockquote { + p { + margin-bottom: 0 !important; + } + &.wp-block-quote { + @extend .blockquote; + cite { + @extend .blockquote-footer; + @extend .text-gray-300; + font-size: 0.75em; + margin-top: -1rem; + margin-bottom: 0 !important; + font-style: normal; + } + } +} + +/* resume separators */ +.separator { + display: flex; + align-items: center; + text-align: center; + color: $gray-400; + font-family: $font-family-monospace; + font-size: smaller; + text-transform: uppercase; + font-weight: 700; + &::before, + &::after { + content: ""; + flex: 1; + border-bottom: 1px solid $secondary; + } + &:not(:empty)::before { + margin-right: 0.5em; + } + &:not(:empty)::after { + margin-left: 0.33em; + } +} + +/* blog */ +.post-title a { + color: $gray-100; + text-decoration: none; + border-bottom: none; + &:hover { + color: $primary; + border-bottom: $secondary 3px solid; + } +} +.post-lede, +.post-body { + h2, h3, h4, h5, h6 { + color: $gray-200; + margin-top: 2rem; + } +} +.post li { + line-height: 1.75rem; +} \ No newline at end of file diff --git a/content-templates/content-article.php b/content-templates/content-article.php index 63c958f..523a3c8 100644 --- a/content-templates/content-article.php +++ b/content-templates/content-article.php @@ -22,28 +22,29 @@ namespace WP_73k; echo get_the_title(); } ?> - - + +
-Published on = get_the_date(); ?>