Rumperuu
27d3e6269e
* chore: remove @lastmodified tags * chore: remove @date tags * chore: remove timestamps * chore: remove timestamps * chore: minor formatting fixes
99 lines
2.2 KiB
CSS
99 lines
2.2 KiB
CSS
/*<?php for docblocks
|
||
/**
|
||
* Basic responsive layout for the entry content div
|
||
*
|
||
* Based on Hello Elementor v2.3.0 Basic responsive layout
|
||
* themes/hello-elementor/theme.css:8..31
|
||
* Licensed under GNU General Public License v3 or later;
|
||
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||
*
|
||
* Since v2.1.4 of Footnotes
|
||
*
|
||
* Modified for 2.2.2
|
||
* Modified for 2.2.5
|
||
* Modified for 2.3.0
|
||
*
|
||
* The enqueuing of this stylesheet is optional and can be
|
||
* enabled in the dashboard under General settings >
|
||
* Reference container > Apply basic responsive page layout.
|
||
**/
|
||
|
||
/***********************************************************
|
||
Rationale
|
||
|
||
In Hello Elementor Theme, this applies to .site-header, and
|
||
also to .site-main, which is a class of the <main> element,
|
||
at the condition that the page is not built with Elementor:
|
||
body:not([class*="elementor-page-"])
|
||
Therefore, in pages built with Elementor, proper layout is
|
||
applied only to features managed by Elementor, not others.
|
||
|
||
Footnotes reference containers are near the bottom of main.
|
||
This stylesheet lets Footnotes’ reference containers come
|
||
into the benefit of the basic responsive layout style rules
|
||
that would apply if the page were not built with Elementor.
|
||
|
||
This is mainly useful with Hello Elementor, but it may help
|
||
fix also other themes like Twenty Twenty-One for display in
|
||
older browsers not yet supporting CSS variables.
|
||
|
||
Sources:
|
||
.entry .entry-content <= Twenty Nineteen
|
||
*/
|
||
|
||
.page-content,
|
||
.entry-content,
|
||
.entry .entry-content,
|
||
main .entry .entry-content {
|
||
margin: 0 auto;
|
||
}
|
||
|
||
@media (max-width: 575px) {
|
||
|
||
.page-content,
|
||
.entry-content,
|
||
.entry .entry-content,
|
||
main .entry .entry-content {
|
||
padding: 0 10px;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 576px) {
|
||
|
||
.page-content,
|
||
.entry-content,
|
||
.entry .entry-content,
|
||
main .entry .entry-content {
|
||
max-width: 500px;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 768px) {
|
||
|
||
.page-content,
|
||
.entry-content,
|
||
.entry .entry-content,
|
||
main .entry .entry-content {
|
||
max-width: 600px;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 992px) {
|
||
|
||
.page-content,
|
||
.entry-content,
|
||
.entry .entry-content,
|
||
main .entry .entry-content {
|
||
max-width: 800px;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 1200px) {
|
||
|
||
.page-content,
|
||
.entry-content,
|
||
.entry .entry-content,
|
||
main .entry .entry-content {
|
||
max-width: 960px;
|
||
}
|
||
}
|