This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
footnotes/css/layout-entry-content.css
2020-12-16 12:06:11 +00:00

79 lines
1.8 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 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
*
* Last modified for v2.2.2 2020-12-15T1004+0100
*
* The enqueuing of this style sheet is optional and can be
* enabled in the Reference container settings.
**/
/***********************************************************
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 style sheet 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 helps fix
also other themes like Twenty Twenty-One.
*/
div.page-content,
div.entry-content {
margin: 0 auto;
}
@media (max-width: 575px) {
div.page-content,
div.entry-content {
padding: 0 10px;
}
}
@media (min-width: 576px) {
div.page-content,
div.entry-content {
max-width: 500px;
}
}
@media (min-width: 768px) {
div.page-content,
div.entry-content {
max-width: 600px;
}
}
@media (min-width: 992px) {
div.page-content,
div.entry-content {
max-width: 800px;
}
}
@media (min-width: 1200px) {
div.page-content,
div.entry-content {
max-width: 960px;
}
}