development update 2.5.5d0 to be shared on the forum
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2475227 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
ef1137e446
commit
3a341d36b2
31 changed files with 716 additions and 286 deletions
94
css/dev-layout-main-content.css
Normal file
94
css/dev-layout-main-content.css
Normal file
|
@ -0,0 +1,94 @@
|
|||
/*<?php for docblocks
|
||||
/**
|
||||
* Basic responsive layout for the main element
|
||||
*
|
||||
* 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
|
||||
* Last modified for v2.2.4 2020-12-16T0625+0100
|
||||
*
|
||||
* The enqueuing of this stylesheet 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 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.
|
||||
*/
|
||||
|
||||
main,
|
||||
.main-content,
|
||||
.site-main,
|
||||
div.hentry {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
|
||||
main,
|
||||
.main-content,
|
||||
.site-main,
|
||||
div.hentry {
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 576px) {
|
||||
|
||||
main,
|
||||
.main-content,
|
||||
.site-main,
|
||||
div.hentry {
|
||||
max-width: 500px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
|
||||
main,
|
||||
.main-content,
|
||||
.site-main,
|
||||
div.hentry {
|
||||
max-width: 600px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
|
||||
main,
|
||||
.main-content,
|
||||
.site-main,
|
||||
div.hentry {
|
||||
max-width: 800px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
|
||||
main,
|
||||
.main-content,
|
||||
.site-main,
|
||||
div.hentry {
|
||||
max-width: 960px;
|
||||
}
|
||||
}
|
Reference in a new issue