ci: improve release process, clean up and re-org repo, add automated minification (#143)
* ci: update scripts * release 2.7.1 * remove tracked stylesheets * docs: revert stable tag to 2.7.0 * chore: move Plugin source into own dir * docs: delete info texts These can now be found in the [project wiki][wiki]. [wiki]: https://github.com/markcheret/footnotes/wiki * docs: tweak contributing guide * ci: reflect new directory structure * chore: update gitignore * chore: reflect new dir structure * docs: update documentation * build(linting): add Husky hooks, Markdown linting, lint all MD files * fix pre-push command * fix pre-push command * build: add stylesheet, JS minification * ci: add linting steps * ci: comment out CSS linting step (that's going to be a whole *thing*) * ci: minify all JS files * ci: call correct JS file * chore: lint * ci: fix PHP linting commands * chore: increment version constant string * ci: concat AMP stylesheets * ci: improve build scripts * chore: add assets dir
This commit is contained in:
parent
e780d817c1
commit
6a1117be15
183 changed files with 9761 additions and 2941 deletions
87
src/css/dev-layout-reference-container.css
Normal file
87
src/css/dev-layout-reference-container.css
Normal file
|
@ -0,0 +1,87 @@
|
|||
/*<?php for docblocks
|
||||
/**
|
||||
* Basic responsive layout for the reference container
|
||||
*
|
||||
* 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.4
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
.entry-content div.footnotes_reference_container,
|
||||
.entry-content > .footnotes_reference_container,
|
||||
main div.footnotes_reference_container {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@media (max-width: 575px) {
|
||||
|
||||
.entry-content div.footnotes_reference_container,
|
||||
.entry-content > .footnotes_reference_container,
|
||||
main div.footnotes_reference_container {
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 576px) {
|
||||
|
||||
.entry-content div.footnotes_reference_container,
|
||||
.entry-content > .footnotes_reference_container,
|
||||
main div.footnotes_reference_container {
|
||||
max-width: 500px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
|
||||
.entry-content div.footnotes_reference_container,
|
||||
.entry-content > .footnotes_reference_container,
|
||||
main div.footnotes_reference_container {
|
||||
max-width: 600px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
|
||||
.entry-content div.footnotes_reference_container,
|
||||
.entry-content > .footnotes_reference_container,
|
||||
main div.footnotes_reference_container {
|
||||
max-width: 800px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
|
||||
.entry-content div.footnotes_reference_container,
|
||||
.entry-content > .footnotes_reference_container,
|
||||
main div.footnotes_reference_container {
|
||||
max-width: 960px;
|
||||
}
|
||||
}
|
Reference in a new issue