# HG changeset patch # User salimr # Date 1557776505 -7200 # Node ID 6aecdb139e9c5defb935844946a5e946ada88c2c # Parent 3ecf94cab4004dfcbf6b0b9813217d3f4abd07ac style edit + add logos on footer diff -r 3ecf94cab400 -r 6aecdb139e9c src/web/app/themes/twentynineteen-child/comments.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/web/app/themes/twentynineteen-child/comments.php Mon May 13 21:41:45 2019 +0200 @@ -0,0 +1,20 @@ + + + + + + + + + + + + diff -r 3ecf94cab400 -r 6aecdb139e9c src/web/app/themes/twentynineteen-child/home.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/web/app/themes/twentynineteen-child/home.php Mon May 13 21:41:45 2019 +0200 @@ -0,0 +1,38 @@ + + +
+
+ + + +
+
+ + li.menu-item-has-children .submenu-expand svg { + color: white; +} + +.main-navigation { + display: flex; + justify-content: center; +} + +.main-navigation .menu-menu-container { + display: flex; + justify-content: center; +} + +.menu-menu-container .main-menu > li > a { + flex: 1 100%; + font-size: .75em; + font-weight: 600; + color: black; +} + +.main-navigation .main-menu > li.menu-item-has-children .submenu-expand svg { + color: black; +} + +.main-navigation .sub-menu { + background-color: black; + font-size: .75em; +} + +/* HOME POSTS */ +.content-area, .site-main { + display: flex; + flex-flow: row wrap; + Justify-content: flex-start; + align-items: baseline; +} + +body.home .entry { + margin: 0; + flex: 1 25%; + max-width: 25%; + /* border: 0.5px solid; */ +} + +@media only screen and (max-width: 768px) { + body.home .entry { + margin: 0; + flex: 1 100%; + max-width: 100%; + } +} + + +.entry .post-thumbnail { + margin: 1rem calc(10% + 10px); +} + +.hfeed .entry .entry-header { + margin: calc(3 * 1rem) calc(10% + 10px) calc(1rem / 2); +} + +.site-title:not(:empty) + .site-description:not(:empty)::before { + content: ""; + margin: 0 .1em; +} + +.entry-title { + font-size: .7em; + line-height: 1.2; +} + +.entry .entry-title::before { + display: none; +} + +.entry .post-thumbnail .post-thumbnail-inner { + display: flex; + justify-content: space-around; +} + +.entry .post-thumbnail .post-thumbnail-inner img { + position: relative; +} + +.image-filters-enabled .entry .post-thumbnail:before { + background: transparent; +} + +.image-filters-enabled .entry .post-thumbnail:after { + background: transparent; +} + +.image-filters-enabled .entry .post-thumbnail .post-thumbnail-inner { + filter: grayscale(2%); + +} + +.entry-footer { + font-size: .5em; +} + +/*POST DETAIL*/ +.image-filters-enabled .site-header.featured-image .site-featured-image::before { + background: black; + mix-blend-mode: darken; + opacity: 0.9; +} + +.post-thumbnail { + display: none; +} + +.site-header.featured-image { + min-height: 25vh; + margin-bottom: 0; +} + +.featured-image { + display: flex; + justify-content: center; +} + +.featured-image > * { + display: flex; + justify-content: center; + flex: 1 100%; +} + +.featured-image .entry-header { + display: flex; + justify-content: center; + flex-flow: row wrap; +} + +.featured-image .entry-header > * { + display: flex; + justify-content: center; + flex: 1 100%; +} + +.featured-image .entry-title::before { + display: none; +} + +.featured-image .entry-title { + font-size: 2em; +} + +.site-content .entry-content { + max-width: 100%; + margin: 0 5%; + padding: 0; +} + +/*PAGE DETAIL*/ +.content-area h1.entry-title { + display: none; +} + +h2::before { + display: none; +} + +/*WIDGETS*/ +.widget-title { +font-size: .95em; +} + +.widget_recent_entries ul li { + line-height: 1; + margin-top: 0.5rem; + margin-bottom: 0; +} + +.widget a { + font-size: .50em; + font-weight: 400; +} + +.entry .entry-content > *, .entry .entry-summary > * { + max-width: 100%; + text-align: left; +} + +.post-navigation .nav-links a .post-title { + + hyphens: auto; + font-size: .6em; + line-height: .5; + +} + +/*FOOTER + WIDGETS */ +#colophon .widget-column { + display: flex; + flex-wrap: nowrap; + width: 100%; +} + +@media only screen and (max-width: 768px) { + #colophon .widget-column { + display: flex; + flex-wrap: wrap; + width: 100%; + } +} + +#colophon .widget-column .widget { + margin-right: calc(3 * 1rem); + width: calc(25% - (3 * 1rem)); + flex: 1 100%; +} + +#colophon .widget-area, #colophon .site-info { + margin: calc(3 * 1rem) calc(5% + 0px); +} + +.logo-footer { + margin: 1.5em; +} \ No newline at end of file diff -r 3ecf94cab400 -r 6aecdb139e9c src/web/app/themes/twentynineteen-child/template-parts/content/content-home.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/web/app/themes/twentynineteen-child/template-parts/content/content-home.php Mon May 13 21:41:45 2019 +0200 @@ -0,0 +1,29 @@ + + +
> +
+ %s', _x( 'Featured', 'post', 'twentynineteen' ) ); + } + the_title( sprintf( '

', esc_url( get_permalink() ) ), '

' ); + ?> +
+ + + + +
diff -r 3ecf94cab400 -r 6aecdb139e9c src/web/app/themes/twentynineteen-child/template-parts/header/entry-header.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/web/app/themes/twentynineteen-child/template-parts/header/entry-header.php Mon May 13 21:41:45 2019 +0200 @@ -0,0 +1,38 @@ + + +', '' ); ?> + + +
+ + + %s', 'twentynineteen' ), + array( + 'span' => array( + 'class' => array(), + ), + ) + ), + get_the_title() + ), + '' . twentynineteen_get_icon_svg( 'edit', 16 ), + '' + ); + ?> +
+