@@ -16,6 +16,7 @@
* 6.7. Posts List Block
* 6.8. Search Block
* 7. Widgets
+ * 8. AMP Support
*/
$color_background: #{map-deep-get($config-global, "color", "background", "default")};
@@ -490,3 +491,24 @@ button[data-load-more-btn] {
font-family: $font_family_code;
font-size: $font_size_base;
}
+
+/**
+ */
+html[amp] {
+ @include media( mobile ) {
+ .site-header {
+ position: sticky;
+ top: 0;
+ }
+ .logged-in .site-header {
+ top: 32px;
+ @media screen and ( max-width: 782px ) {
+ top: 46px;
+}
@@ -3972,6 +3972,7 @@ body.admin-bar .widget_eu_cookie_law_widget.widget.top {
/**
* 1. General Styles
@@ -4394,3 +4395,22 @@ button[data-load-more-btn].has-background:visited {
font-family: "Inconsolata", monospace;
font-size: 1rem;
+@media only screen and (min-width: 560px) {
+ html[amp] .site-header {
+ html[amp] .logged-in .site-header {
+@media screen and (max-width: 782px) {
@@ -4001,6 +4001,7 @@ body.admin-bar .widget_eu_cookie_law_widget.widget.top {
@@ -4423,3 +4424,22 @@ button[data-load-more-btn].has-background:visited {