This commit is contained in:
2021-05-12 12:05:01 +02:00
parent ec6c71798f
commit ffb5dbdaae
104 changed files with 6733 additions and 3490 deletions
+2
View File
@@ -0,0 +1,2 @@
.sass-cache
.DS_Store
+81 -1
View File
@@ -1,3 +1,83 @@
# v2.2.1
## 01/15/2021
1. [](#improved)
* Fixed autoescaping in preparation for Grav 1.7
1. [](#bugfix)
* Fix deprecated messages from macros [#140](https://github.com/getgrav/grav-theme-antimatter/issues/140)
# v2.2.0
## 03/21/2019
1. [](#new)
* Set Dependency of Grav 1.5.10+ which has support for new **Deferred Block** Twig extension
* Implement assets rendering using **Deferred Block** Twig extension
# v2.1.2
## 9/28/2017
1. [](#improved)
* Added polish and brazilian portuguese translations
* Allow overriding the slidebar by moving it to its own `sidebar_navigation` block [#110](https://github.com/getgrav/grav-theme-antimatter/pull/110)
1. [](#bugfix)
* Fix showcase template overlapping when not at top [#99](https://github.com/getgrav/grav-theme-antimatter/pull/99)
# v2.1.1
## 02/26/2017
1. [](#bugfix)
* Allow to add a `external` class to site.yaml links to work on modular pages [#95](https://github.com/getgrav/grav-theme-antimatter/pull/95)
# v2.1.0
## 01/24/2017
1. [](#new)
* Updated to FontAwesome 4.7.0 with [Grav icon](http://fontawesome.io/icon/grav/)
1. [](#improved)
* Added croatian
* Changed "SimpleSearch" string in the sidebar to "Search"
1. [](#bugfix)
* Removed unreachable condition [#85](https://github.com/getgrav/grav-theme-antimatter/pull/85)
* Fixed a typo in the french translation
# v2.0.0
## 07/14/2016
1. [](#new)
* Added microformats2 support [#64](https://github.com/getgrav/grav-theme-antimatter/pull/64)
1. [](#improved)
* Updated to FontAwesome 4.6.3
* Added romanian, russian and ukranian
# v2.0.0-beta.1
## 05/23/2016
1. [](#new)
* New and improved **dropdown** styling
1. [](#improved)
* Removed templates from `form` + `snipcart` plugins
* Added support for search button
* Updated some translations
* Automatically add comments if configured
* Relative path for favicon
* Slightly modified the blockquote background color
* Removed unneeded streams from YAML
* Use common language strings in Blueprint
# v1.8.0
## 11/20/2015
1. [](#new)
* Added logic to include site.menu items in modular pages
* Added a configurable lang field for HTML tag
* Added a `bottom` JS output call
1. [](#improved)
* Updated to FontAwesome 4.4.0
1. [](#bugfix)
* Fixed extra `/` in some tag URLs
* Better support for PECL Yaml parser
* Fixes for blog page blueprint
# v1.7.6
## 10/07/2015
@@ -46,7 +126,7 @@
1. [](#new)
* Blueprints that work with new admin plugin!
1. [](#bugfix)
* Favicon with full image URL
* Favicon with full image URL
# v1.6.1
## 07/24/2015
-7
View File
@@ -1,10 +1,3 @@
enabled: true
dropdown:
enabled: false
streams:
schemes:
theme:
type: ReadOnlyStream
paths:
- user/themes/antimatter
+6 -3
View File
@@ -1,5 +1,5 @@
name: Antimatter
version: 1.7.6
version: 2.2.1
description: "Antimatter is the default theme included with **Grav**"
icon: empire
author:
@@ -12,6 +12,9 @@ keywords: antimatter, theme, core, modern, fast, responsive, html5, css3
bugs: https://github.com/getgrav/grav-theme-antimatter/issues
license: MIT
dependencies:
- { name: grav, version: '>=1.5.10' }
form:
validation: loose
fields:
@@ -21,7 +24,7 @@ form:
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
@@ -26,9 +26,9 @@ form:
type: upload
label: Upload
allow:
@media.*.keys
'@media.*.keys'
accept:
@media.*.values
'@media.*.values'
filename:
type: text
+20 -7
View File
@@ -1,5 +1,5 @@
title: Blog
@extends:
'@extends':
type: default
context: blueprints://pages
@@ -33,11 +33,10 @@ form:
fields:
header.content.items:
type: select
type: textarea
yaml: true
label: Items
default: @self.children
options:
@self.children: Children
default: '@self.children'
header.content.limit:
type: text
@@ -72,5 +71,19 @@ form:
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
header.content.url_taxonomy_filters:
type: toggle
label: URL Taxonomy Filters
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
+1 -1
View File
@@ -1,2 +1,2 @@
title: Nopad
@extends: default
'@extends': default
+5 -5
View File
@@ -1,5 +1,5 @@
title: Item
@extends:
'@extends':
type: default
context: blueprints://pages
@@ -26,8 +26,8 @@ form:
help: Enabled displaying of a header image
highlight: 1
options:
1: Enabled
0: Disabled
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
header.header_image_file:
type: text
@@ -73,8 +73,8 @@ form:
label: Summary
highlight: 1
options:
1: Enabled
0: Disabled
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
header.summary.format:
type: select
@@ -1,5 +1,5 @@
title: Features
@extends: default
'@extends': default
form:
fields:
@@ -13,12 +13,12 @@ form:
fields:
name:
default: modular/features
@data-options: '\Grav\Common\Page\Pages::modularTypes'
'@data-options': '\Grav\Common\Page\Pages::modularTypes'
overrides:
fields:
header.template:
default: modular/features
@data-options: '\Grav\Common\Page\Pages::modularTypes'
'@data-options': '\Grav\Common\Page\Pages::modularTypes'
features:
type: tab
title: Features
@@ -1,5 +1,5 @@
title: Showcase
@extends: default
'@extends': default
form:
fields:
@@ -13,12 +13,12 @@ form:
fields:
name:
default: modular/showcase
@data-options: '\Grav\Common\Page\Pages::modularTypes'
'@data-options': '\Grav\Common\Page\Pages::modularTypes'
overrides:
fields:
header.template:
default: modular/showcase
@data-options: '\Grav\Common\Page\Pages::modularTypes'
'@data-options': '\Grav\Common\Page\Pages::modularTypes'
buttons:
type: tab
title: Buttons
@@ -38,8 +38,9 @@ form:
type: toggle
label: Primary
highlight: 1
default: 1
options:
1: Yes
0: No
1: 'Yes'
0: 'No'
validate:
type: bool
@@ -1,5 +1,5 @@
title: Text
@extends: default
'@extends': default
form:
fields:
@@ -13,12 +13,12 @@ form:
fields:
name:
default: modular/text
@data-options: '\Grav\Common\Page\Pages::modularTypes'
'@data-options': '\Grav\Common\Page\Pages::modularTypes'
overrides:
fields:
header.template:
default: modular/text
@data-options: '\Grav\Common\Page\Pages::modularTypes'
'@data-options': '\Grav\Common\Page\Pages::modularTypes'
content:
fields:
uploads:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,98 +1,3 @@
.text-left {
text-align: left !important; }
.text-left{text-align:left !important}.text-right{text-align:right !important}.text-center{text-align:center !important}.text-justify{text-align:justify !important}@media all and (min-width: 75em){.large-desktop-text-left{text-align:left !important}.large-desktop-text-right{text-align:right !important}.large-desktop-text-center{text-align:center !important}.large-desktop-text-justify{text-align:justify !important}}@media all and (min-width: 60em) and (max-width: 74.938em){.desktop-text-left{text-align:left !important}.desktop-text-right{text-align:right !important}.desktop-text-center{text-align:center !important}.desktop-text-justify{text-align:justify !important}}@media all and (min-width: 48em) and (max-width: 59.938em){.tablet-text-left{text-align:left !important}.tablet-text-right{text-align:right !important}.tablet-text-center{text-align:center !important}.tablet-text-justify{text-align:justify !important}}@media all and (min-width: 30.063em) and (max-width: 47.938em){.large-mobile-text-left{text-align:left !important}.large-mobile-text-right{text-align:right !important}.large-mobile-text-center{text-align:center !important}.large-mobile-text-justify{text-align:justify !important}}@media all and (max-width: 30em){.small-mobile-text-left{text-align:left !important}.small-mobile-text-right{text-align:right !important}.small-mobile-text-center{text-align:center !important}.small-mobile-text-justify{text-align:justify !important}}@media all and (min-width: 48em){.no-mobile-text-left{text-align:left !important}.no-mobile-text-right{text-align:right !important}.no-mobile-text-center{text-align:center !important}.no-mobile-text-justify{text-align:justify !important}}@media all and (max-width: 47.938em){.mobile-only-text-left{text-align:left !important}.mobile-only-text-right{text-align:right !important}.mobile-only-text-center{text-align:center !important}.mobile-only-text-justify{text-align:justify !important}}
.text-right {
text-align: right !important; }
.text-center {
text-align: center !important; }
.text-justify {
text-align: justify !important; }
@media all and (min-width: 75em) {
.large-desktop-text-left {
text-align: left !important; }
.large-desktop-text-right {
text-align: right !important; }
.large-desktop-text-center {
text-align: center !important; }
.large-desktop-text-justify {
text-align: justify !important; } }
@media all and (min-width: 60em) and (max-width: 74.938em) {
.desktop-text-left {
text-align: left !important; }
.desktop-text-right {
text-align: right !important; }
.desktop-text-center {
text-align: center !important; }
.desktop-text-justify {
text-align: justify !important; } }
@media all and (min-width: 48em) and (max-width: 59.938em) {
.tablet-text-left {
text-align: left !important; }
.tablet-text-right {
text-align: right !important; }
.tablet-text-center {
text-align: center !important; }
.tablet-text-justify {
text-align: justify !important; } }
@media all and (min-width: 30.063em) and (max-width: 47.938em) {
.large-mobile-text-left {
text-align: left !important; }
.large-mobile-text-right {
text-align: right !important; }
.large-mobile-text-center {
text-align: center !important; }
.large-mobile-text-justify {
text-align: justify !important; } }
@media all and (max-width: 30em) {
.small-mobile-text-left {
text-align: left !important; }
.small-mobile-text-right {
text-align: right !important; }
.small-mobile-text-center {
text-align: center !important; }
.small-mobile-text-justify {
text-align: justify !important; } }
@media all and (min-width: 48em) {
.no-mobile-text-left {
text-align: left !important; }
.no-mobile-text-right {
text-align: right !important; }
.no-mobile-text-center {
text-align: center !important; }
.no-mobile-text-justify {
text-align: justify !important; } }
@media all and (max-width: 47.938em) {
.mobile-only-text-left {
text-align: left !important; }
.mobile-only-text-right {
text-align: right !important; }
.mobile-only-text-center {
text-align: center !important; }
.mobile-only-text-justify {
text-align: justify !important; } }
/*# sourceMappingURL=particles.css.map */
/*# sourceMappingURL=particles.css.map */
@@ -1,7 +1,95 @@
{
"version": 3,
"mappings": "AAsBC,UAAW;EACV,UAAU,EAAE,eAAe;;AAE5B,WAAY;EACX,UAAU,EAAE,gBAAgB;;AAE7B,YAAa;EACZ,UAAU,EAAE,iBAAiB;;AAE9B,aAAc;EACb,UAAU,EAAE,kBAAkB;;AAI9B,gCAA8C;EAC7C,wBAA4C;IAAE,UAAU,EAAE,eAAe;;EACzE,yBAA+C;IAAE,UAAU,EAAE,gBAAgB;;EAC7E,0BAA+C;IAAE,UAAU,EAAE,iBAAiB;;EAC9E,2BAA+C;IAAE,UAAU,EAAE,kBAAkB;AAJhF,0DAA8C;EAC7C,kBAA4C;IAAE,UAAU,EAAE,eAAe;;EACzE,mBAA+C;IAAE,UAAU,EAAE,gBAAgB;;EAC7E,oBAA+C;IAAE,UAAU,EAAE,iBAAiB;;EAC9E,qBAA+C;IAAE,UAAU,EAAE,kBAAkB;AAJhF,0DAA8C;EAC7C,iBAA4C;IAAE,UAAU,EAAE,eAAe;;EACzE,kBAA+C;IAAE,UAAU,EAAE,gBAAgB;;EAC7E,mBAA+C;IAAE,UAAU,EAAE,iBAAiB;;EAC9E,oBAA+C;IAAE,UAAU,EAAE,kBAAkB;AAJhF,8DAA8C;EAC7C,uBAA4C;IAAE,UAAU,EAAE,eAAe;;EACzE,wBAA+C;IAAE,UAAU,EAAE,gBAAgB;;EAC7E,yBAA+C;IAAE,UAAU,EAAE,iBAAiB;;EAC9E,0BAA+C;IAAE,UAAU,EAAE,kBAAkB;AAJhF,gCAA8C;EAC7C,uBAA4C;IAAE,UAAU,EAAE,eAAe;;EACzE,wBAA+C;IAAE,UAAU,EAAE,gBAAgB;;EAC7E,yBAA+C;IAAE,UAAU,EAAE,iBAAiB;;EAC9E,0BAA+C;IAAE,UAAU,EAAE,kBAAkB;AAJhF,gCAA8C;EAC7C,oBAA4C;IAAE,UAAU,EAAE,eAAe;;EACzE,qBAA+C;IAAE,UAAU,EAAE,gBAAgB;;EAC7E,sBAA+C;IAAE,UAAU,EAAE,iBAAiB;;EAC9E,uBAA+C;IAAE,UAAU,EAAE,kBAAkB;AAJhF,oCAA8C;EAC7C,sBAA4C;IAAE,UAAU,EAAE,eAAe;;EACzE,uBAA+C;IAAE,UAAU,EAAE,gBAAgB;;EAC7E,wBAA+C;IAAE,UAAU,EAAE,iBAAiB;;EAC9E,yBAA+C;IAAE,UAAU,EAAE,kBAAkB",
"sources": ["../scss/nucleus/particles/_align-text.scss"],
"names": [],
"file": "particles.css"
"version": 3,
"file": "particles.css",
"sources": [
"../scss/particles.scss",
"../scss/vendor/bourbon/_bourbon.scss",
"../scss/vendor/bourbon/settings/_prefixer.scss",
"../scss/vendor/bourbon/settings/_px-to-em.scss",
"../scss/vendor/bourbon/helpers/_convert-units.scss",
"../scss/vendor/bourbon/helpers/_gradient-positions-parser.scss",
"../scss/vendor/bourbon/helpers/_is-num.scss",
"../scss/vendor/bourbon/helpers/_linear-angle-parser.scss",
"../scss/vendor/bourbon/helpers/_linear-gradient-parser.scss",
"../scss/vendor/bourbon/helpers/_linear-positions-parser.scss",
"../scss/vendor/bourbon/helpers/_linear-side-corner-parser.scss",
"../scss/vendor/bourbon/helpers/_radial-arg-parser.scss",
"../scss/vendor/bourbon/helpers/_radial-positions-parser.scss",
"../scss/vendor/bourbon/helpers/_radial-gradient-parser.scss",
"../scss/vendor/bourbon/helpers/_render-gradients.scss",
"../scss/vendor/bourbon/helpers/_shape-size-stripper.scss",
"../scss/vendor/bourbon/helpers/_str-to-num.scss",
"../scss/vendor/bourbon/functions/_assign.scss",
"../scss/vendor/bourbon/functions/_color-lightness.scss",
"../scss/vendor/bourbon/functions/_flex-grid.scss",
"../scss/vendor/bourbon/functions/_golden-ratio.scss",
"../scss/vendor/bourbon/functions/_grid-width.scss",
"../scss/vendor/bourbon/functions/_modular-scale.scss",
"../scss/vendor/bourbon/functions/_px-to-em.scss",
"../scss/vendor/bourbon/functions/_px-to-rem.scss",
"../scss/vendor/bourbon/functions/_strip-units.scss",
"../scss/vendor/bourbon/functions/_tint-shade.scss",
"../scss/vendor/bourbon/functions/_transition-property-name.scss",
"../scss/vendor/bourbon/functions/_unpack.scss",
"../scss/vendor/bourbon/css3/_animation.scss",
"../scss/vendor/bourbon/css3/_appearance.scss",
"../scss/vendor/bourbon/css3/_backface-visibility.scss",
"../scss/vendor/bourbon/css3/_background.scss",
"../scss/vendor/bourbon/css3/_background-image.scss",
"../scss/vendor/bourbon/css3/_border-image.scss",
"../scss/vendor/bourbon/css3/_border-radius.scss",
"../scss/vendor/bourbon/css3/_box-sizing.scss",
"../scss/vendor/bourbon/css3/_calc.scss",
"../scss/vendor/bourbon/css3/_columns.scss",
"../scss/vendor/bourbon/css3/_filter.scss",
"../scss/vendor/bourbon/css3/_flex-box.scss",
"../scss/vendor/bourbon/css3/_font-face.scss",
"../scss/vendor/bourbon/css3/_hyphens.scss",
"../scss/vendor/bourbon/css3/_hidpi-media-query.scss",
"../scss/vendor/bourbon/css3/_image-rendering.scss",
"../scss/vendor/bourbon/css3/_keyframes.scss",
"../scss/vendor/bourbon/css3/_linear-gradient.scss",
"../scss/vendor/bourbon/css3/_perspective.scss",
"../scss/vendor/bourbon/css3/_radial-gradient.scss",
"../scss/vendor/bourbon/css3/_transform.scss",
"../scss/vendor/bourbon/css3/_transition.scss",
"../scss/vendor/bourbon/css3/_user-select.scss",
"../scss/vendor/bourbon/css3/_placeholder.scss",
"../scss/vendor/bourbon/addons/_button.scss",
"../scss/vendor/bourbon/addons/_clearfix.scss",
"../scss/vendor/bourbon/addons/_directional-values.scss",
"../scss/vendor/bourbon/addons/_ellipsis.scss",
"../scss/vendor/bourbon/addons/_font-family.scss",
"../scss/vendor/bourbon/addons/_hide-text.scss",
"../scss/vendor/bourbon/addons/_html5-input-types.scss",
"../scss/vendor/bourbon/addons/_position.scss",
"../scss/vendor/bourbon/addons/_prefixer.scss",
"../scss/vendor/bourbon/addons/_retina-image.scss",
"../scss/vendor/bourbon/addons/_size.scss",
"../scss/vendor/bourbon/addons/_timing-functions.scss",
"../scss/vendor/bourbon/addons/_triangle.scss",
"../scss/vendor/bourbon/addons/_word-wrap.scss",
"../scss/vendor/bourbon/_bourbon-deprecated-upcoming.scss",
"../scss/configuration/nucleus/_base.scss",
"../scss/configuration/nucleus/_core.scss",
"../scss/configuration/nucleus/_breakpoints.scss",
"../scss/configuration/nucleus/_layout.scss",
"../scss/configuration/nucleus/_typography.scss",
"../scss/configuration/nucleus/_nav.scss",
"../scss/configuration/template/_base.scss",
"../scss/configuration/template/_colors.scss",
"../scss/configuration/template/_typography.scss",
"../scss/configuration/template/_bullets.scss",
"../scss/configuration/template/_variables.scss",
"../scss/nucleus/functions/_base.scss",
"../scss/nucleus/functions/_direction.scss",
"../scss/nucleus/functions/_range.scss",
"../scss/nucleus/mixins/_base.scss",
"../scss/nucleus/mixins/_breakpoints.scss",
"../scss/nucleus/mixins/_utilities.scss",
"../scss/nucleus/particles/_align-text.scss",
"../scss/nucleus/particles/_visibility.scss"
],
"mappings": "AqFsBC,AAAA,UAAU,AAAC,CACV,UAAU,CAAE,eAAgB,CAC5B,AACD,AAAA,WAAW,AAAC,CACX,UAAU,CAAE,gBAAiB,CAC7B,AACD,AAAA,YAAY,AAAC,CACZ,UAAU,CAAE,iBAAkB,CAC9B,AACD,AAAA,aAAa,AAAC,CACb,UAAU,CAAE,kBAAmB,CAC/B,AAGA,MAAM,CAAN,GAAG,MAAM,SAAS,EAAC,IAAI,EACtB,AAAA,wBAAwB,AAAxB,CAAE,UAAU,CAAE,eAAgB,CAAI,AAClC,AAAA,yBAAyB,AAAzB,CAAE,UAAU,CAAE,gBAAiB,CAAI,AACnC,AAAA,0BAA0B,AAA1B,CAAE,UAAU,CAAE,iBAAkB,CAAI,AACpC,AAAA,2BAA2B,AAA3B,CAAE,UAAU,CAAE,kBAAmB,CAAI,CAJtC,MAAM,CAAN,GAAG,MAAM,SAAS,EAAC,IAAI,OAAO,SAAS,EAAC,QAAQ,EAC/C,AAAA,kBAAkB,AAAlB,CAAE,UAAU,CAAE,eAAgB,CAAI,AAClC,AAAA,mBAAmB,AAAnB,CAAE,UAAU,CAAE,gBAAiB,CAAI,AACnC,AAAA,oBAAoB,AAApB,CAAE,UAAU,CAAE,iBAAkB,CAAI,AACpC,AAAA,qBAAqB,AAArB,CAAE,UAAU,CAAE,kBAAmB,CAAI,CAJtC,MAAM,CAAN,GAAG,MAAM,SAAS,EAAC,IAAI,OAAO,SAAS,EAAC,QAAQ,EAC/C,AAAA,iBAAiB,AAAjB,CAAE,UAAU,CAAE,eAAgB,CAAI,AAClC,AAAA,kBAAkB,AAAlB,CAAE,UAAU,CAAE,gBAAiB,CAAI,AACnC,AAAA,mBAAmB,AAAnB,CAAE,UAAU,CAAE,iBAAkB,CAAI,AACpC,AAAA,oBAAoB,AAApB,CAAE,UAAU,CAAE,kBAAmB,CAAI,CAJtC,MAAM,CAAN,GAAG,MAAM,SAAS,EAAC,QAAQ,OAAO,SAAS,EAAC,QAAQ,EACnD,AAAA,uBAAuB,AAAvB,CAAE,UAAU,CAAE,eAAgB,CAAI,AAClC,AAAA,wBAAwB,AAAxB,CAAE,UAAU,CAAE,gBAAiB,CAAI,AACnC,AAAA,yBAAyB,AAAzB,CAAE,UAAU,CAAE,iBAAkB,CAAI,AACpC,AAAA,0BAA0B,AAA1B,CAAE,UAAU,CAAE,kBAAmB,CAAI,CAJtC,MAAM,CAAN,GAAG,MAAM,SAAS,EAAC,IAAI,EACtB,AAAA,uBAAuB,AAAvB,CAAE,UAAU,CAAE,eAAgB,CAAI,AAClC,AAAA,wBAAwB,AAAxB,CAAE,UAAU,CAAE,gBAAiB,CAAI,AACnC,AAAA,yBAAyB,AAAzB,CAAE,UAAU,CAAE,iBAAkB,CAAI,AACpC,AAAA,0BAA0B,AAA1B,CAAE,UAAU,CAAE,kBAAmB,CAAI,CAJtC,MAAM,CAAN,GAAG,MAAM,SAAS,EAAC,IAAI,EACtB,AAAA,oBAAoB,AAApB,CAAE,UAAU,CAAE,eAAgB,CAAI,AAClC,AAAA,qBAAqB,AAArB,CAAE,UAAU,CAAE,gBAAiB,CAAI,AACnC,AAAA,sBAAsB,AAAtB,CAAE,UAAU,CAAE,iBAAkB,CAAI,AACpC,AAAA,uBAAuB,AAAvB,CAAE,UAAU,CAAE,kBAAmB,CAAI,CAJtC,MAAM,CAAN,GAAG,MAAM,SAAS,EAAC,QAAQ,EAC1B,AAAA,sBAAsB,AAAtB,CAAE,UAAU,CAAE,eAAgB,CAAI,AAClC,AAAA,uBAAuB,AAAvB,CAAE,UAAU,CAAE,gBAAiB,CAAI,AACnC,AAAA,wBAAwB,AAAxB,CAAE,UAAU,CAAE,iBAAkB,CAAI,AACpC,AAAA,yBAAyB,AAAzB,CAAE,UAAU,CAAE,kBAAmB,CAAI",
"names": []
}
@@ -1,5 +1,5 @@
@import url(//fonts.googleapis.com/css?family=Montserrat:400|Raleway:300,400,600|Inconsolata);
#header #logo h3, #header #navbar ul.navigation, #header #navbar .panel-activation, #footer p {
#header #logo h3, #header #navbar .panel-activation, #footer p {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
@@ -51,7 +51,7 @@ b, strong, label, th {
.right {
float: right; }
.default-animation, #body, #header, #header #logo h3, .modular .showcase .button {
.default-animation, #body, #header, #header #logo h3, #header #navbar ul.navigation, .modular .showcase .button {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
transition: all 0.5s ease; }
@@ -94,6 +94,8 @@ b, strong, label, th {
color: #0e6e90 !important; }
#header.scrolled #navbar a:before, #header.scrolled #navbar a:after {
background-color: #1BB3E9 !important; }
#header.scrolled .navigation {
margin-top: 0.5rem !important; }
#header > .grid, #header #logo, #header #navbar {
height: 100%; }
#header #logo {
@@ -106,21 +108,49 @@ b, strong, label, th {
#header #logo h3 a {
color: #444; }
#header #navbar {
font-size: 0.9rem; }
font-size: 0.9rem;
/* Child Indicator */ }
#header #navbar .has-children > a > span {
display: inline-block;
padding-right: 8px; }
#header #navbar .has-children > a > span:after {
font-family: FontAwesome;
content: '\f107';
position: absolute;
display: inline-block;
right: 8px;
top: 4px; }
#header #navbar .has-children > a:after, #header #navbar .has-children > a:before {
display: none; }
#header #navbar .has-children .has-children > a > span:after {
content: '\f105'; }
#header #navbar .navigation > .has-children:hover > a {
background: #f6f6f6;
border: 1px solid #ececec;
border-bottom-color: #f6f6f6;
margin: -1px -1px 0 -1px;
z-index: 1000;
position: relative;
padding-bottom: 1px; }
#header #navbar ul {
margin: 0;
padding: 0;
list-style: none; }
#header #navbar ul.navigation {
display: inline-block;
float: right; }
float: right;
margin-top: 1.4rem; }
#header #navbar ul.navigation li {
float: left;
position: relative; }
position: relative;
/*Active dropdown nav item */
/* Dropdown CSS */
/* Active on Hover */ }
#header #navbar ul.navigation li a {
font-family: "Montserrat", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
display: inline-block;
padding: 0.3rem 0.8rem; }
padding: 0.3rem 0.8rem;
-webkit-backface-visibility: hidden; }
#header #navbar ul.navigation li a:before, #header #navbar ul.navigation li a:after {
content: "";
position: absolute;
@@ -162,29 +192,35 @@ b, strong, label, th {
-o-transform: scaleX(0.75);
transform: scaleX(0.75); }
#header #navbar ul.navigation li ul {
display: none;
padding: 0;
box-shadow: 0 0.05rem 1rem rgba(0, 0, 0, 0.15) !important; }
position: absolute;
background-color: #f6f6f6;
border: 1px solid #ececec;
border-top: 0;
min-width: 12rem;
text-align: left;
z-index: 999;
left: -1px;
display: none; }
#header #navbar ul.navigation li ul li {
display: block;
float: none;
/* Active Dropdown nav item */ }
#header #navbar ul.navigation li ul li.active > a {
background-color: #ececec;
color: #1BB3E9; }
#header #navbar ul.navigation li ul li:hover > a {
background-color: #1BB3E9;
color: #fff; }
#header #navbar ul.navigation li ul li a {
display: block;
margin: 0 -1px; }
#header #navbar ul.navigation li ul li a:after, #header #navbar ul.navigation li ul li a:before {
display: none; }
#header #navbar ul.navigation li ul ul {
left: 100%;
top: 0; }
top: 0px; }
#header #navbar ul.navigation li:hover > ul {
display: block;
position: absolute;
background: rgba(255, 255, 255, 0.9);
width: 10rem; }
#header #navbar ul.navigation li:hover li {
float: none;
margin: 0;
padding: 0; }
#header #navbar ul.navigation li:hover li a {
padding: 0.5rem 0.8rem;
display: block; }
#header #navbar ul.navigation li:hover li a:before, #header #navbar ul.navigation li:hover li a:after {
display: none; }
#header #navbar ul.navigation li:hover li.active > a {
background: #1BB3E9;
color: #fff; }
display: block; }
@media only all and (max-width: 59.938em) {
#header #navbar ul.navigation {
display: none; } }
@@ -214,16 +250,14 @@ b, strong, label, th {
.header-image #header {
background-color: rgba(255, 255, 255, 0);
box-shadow: none; }
.header-image #header .navigation .has-children:hover a {
color: #1BB3E9; }
.header-image #header #logo h3, .header-image #header #logo a {
color: #FFFFFF; }
.header-image #header a, .header-image #header .menu-btn {
color: #FFFFFF; }
.header-image #header a:before, .header-image #header a:after {
background-color: rgba(255, 255, 255, 0.7) !important; }
.header-image #header #navbar ul.navigation ul li a {
color: #1BB3E9; }
.header-image #header #navbar ul.navigation ul li a:hover {
color: #0e6e90; }
#footer {
position: absolute;
@@ -357,21 +391,37 @@ blockquote > blockquote > blockquote {
border-left: 10px solid #F0AD4E;
background: #FCF8F2;
color: #df8a13; }
blockquote > blockquote > blockquote > p a {
color: #b06d0f; }
blockquote > blockquote > blockquote > p a:hover {
color: #f2b866; }
blockquote > blockquote > blockquote > blockquote > p {
margin-left: -94px;
border-left: 10px solid #D9534F;
background: #FDF7F7;
color: #b52b27; }
blockquote > blockquote > blockquote > blockquote > p a {
color: #8b211e; }
blockquote > blockquote > blockquote > blockquote > p a:hover {
color: #de6764; }
blockquote > blockquote > blockquote > blockquote > blockquote > p {
margin-left: -118px;
border-left: 10px solid #5BC0DE;
background: #F4F8FA;
color: #28a1c5; }
blockquote > blockquote > blockquote > blockquote > blockquote > p a {
color: #1f7e9a; }
blockquote > blockquote > blockquote > blockquote > blockquote > p a:hover {
color: #70c8e2; }
blockquote > blockquote > blockquote > blockquote > blockquote > blockquote > p {
margin-left: -142px;
border-left: 10px solid #5CB85C;
background: #F1F9F1;
color: #3d8b3d; }
blockquote > blockquote > blockquote > blockquote > blockquote > blockquote > p a {
color: #2d672d; }
blockquote > blockquote > blockquote > blockquote > blockquote > blockquote > p a:hover {
color: #6ec06e; }
code,
kbd,
@@ -385,7 +435,7 @@ code {
pre {
padding: 2rem;
background: #f6f6f6;
background: #f0f0f0;
border: 1px solid #ddd;
border-radius: 3px; }
pre code {
@@ -713,6 +763,11 @@ ul.pagination {
@media only all and (max-width: 47.938em) {
.simplesearch .search-item {
margin-left: 0; } }
.simplesearch .search-wrapper .search-submit {
height: 52px;
padding: 0 10px; }
.simplesearch .search-wrapper .search-submit img {
width: 30px; }
.simplesearch .search-details {
float: right;
margin-top: -2.5rem;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 248 KiB

After

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.
+15
View File
@@ -0,0 +1,15 @@
{
"project":"grav-theme-antimatter",
"platforms":{
"grav":{
"nodes":{
"theme":[
{
"source":"/",
"destination":"/user/themes/antimatter"
}
]
}
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

+294 -1
View File
@@ -1,2 +1,295 @@
en:
TRANSLATION_TEST: Antimatter!
TRANSLATION_TEST: Antimatter!
BLOG:
ITEM:
CONTINUE_READING: Continue reading...
NEXT_POST: Next Post
PREV_POST: Previous Post
SIDEBAR:
SIMPLE_SEARCH:
HEADLINE: Search
RELATED_POSTS:
HEADLINE: Related Posts
RANDOM_ARTICLE:
HEADLINE: Random Article
FEELING_LUCKY: I'm Feeling Lucky!
SOME_TEXT_WIDGET:
HEADLINE: Some Text Widget
POPULAR_TAGS:
HEADLINE: Popular Tags
ARCHIVES:
HEADLINE: Archives
SYNDICATE:
HEADLINE: Syndicate
FORM_DATA:
SUMMARY: "Here is the summary of what you wrote to us:"
ERROR: Error
de:
TRANSLATION_TEST: Antimatter!
BLOG:
ITEM:
CONTINUE_READING: Weiterlesen...
NEXT_POST: Nächster Beitrag
PREV_POST: Vorheriger Beitrag
SIDEBAR:
SIMPLE_SEARCH:
HEADLINE: SimpleSearch
RELATED_POSTS:
HEADLINE: Ähnliche Beiträge
RANDOM_ARTICLE:
HEADLINE: Zufälliger Artikel
FEELING_LUCKY: Auf gut Glück!
SOME_TEXT_WIDGET:
HEADLINE: Text Widget Beispiel
POPULAR_TAGS:
HEADLINE: Häufigste Tags
ARCHIVES:
HEADLINE: Archiv
SYNDICATE:
HEADLINE: Abonnements
FORM_DATA:
SUMMARY: "Folgendes haben Sie uns mitgeteilt:"
ERROR: Fehler
es:
TRANSLATION_TEST: Antimatter!
BLOG:
ITEM:
CONTINUE_READING: Continuar leyendo...
NEXT_POST: Siguiente Entrada
PREV_POST: Entrada Anterior
SIDEBAR:
SIMPLE_SEARCH:
HEADLINE: Buscar
RELATED_POSTS:
HEADLINE: Entradas Relacionadas
RANDOM_ARTICLE:
HEADLINE: Artículo Aleatorio
FEELING_LUCKY: Voy a tener suerte!
SOME_TEXT_WIDGET:
HEADLINE: Algunos Widget de Texto
POPULAR_TAGS:
HEADLINE: Etiquetas Populares
ARCHIVES:
HEADLINE: Archivos
SYNDICATE:
HEADLINE: Distribuir
FORM_DATA:
SUMMARY: "Este es un resumen de lo escrito:"
ERROR: Error
fr:
TRANSLATION_TEST: Antimatter !
BLOG:
ITEM:
CONTINUE_READING: Continuer la lecture...
NEXT_POST: Article suivant
PREV_POST: Article précédent
SIDEBAR:
SIMPLE_SEARCH:
HEADLINE: Recherche simple
RELATED_POSTS:
HEADLINE: Articles en relation
RANDOM_ARTICLE:
HEADLINE: Article aléatoire
FEELING_LUCKY: Jai de la chance !
SOME_TEXT_WIDGET:
HEADLINE: Du texte gadget
POPULAR_TAGS:
HEADLINE: Tags populaires
ARCHIVES:
HEADLINE: Archives
SYNDICATE:
HEADLINE: Syndication
FORM_DATA:
SUMMARY: "Voici le résumé de ce que vous avez écrit pour nous :"
ERROR: Erreur
it:
TRANSLATION_TEST: Antimatter!
BLOG:
ITEM:
CONTINUE_READING: Continua a leggere...
NEXT_POST: Prossimo articolo
PREV_POST: Articolo precedente
SIDEBAR:
SIMPLE_SEARCH:
HEADLINE: SimpleSearch
RELATED_POSTS:
HEADLINE: Articoli correlati
RANDOM_ARTICLE:
HEADLINE: Articolo a caso
FEELING_LUCKY: Mi sento fortunato!
SOME_TEXT_WIDGET:
HEADLINE: Widget di testo
POPULAR_TAGS:
HEADLINE: Tag popolari
ARCHIVES:
HEADLINE: Archivio
SYNDICATE:
HEADLINE: Feed
FORM_DATA:
SUMMARY: "Questo è il riassunto di quanto ci hai scritto:"
ERROR: Errore
ro:
BLOG:
ITEM:
CONTINUE_READING: Mai multe...
NEXT_POST: Următorul articol
PREV_POST: Articolul anterior
SIDEBAR:
SIMPLE_SEARCH:
HEADLINE: Căutare
RELATED_POSTS:
HEADLINE: Articole corelate
RANDOM_ARTICLE:
HEADLINE: Articol aleator
FEELING_LUCKY: Mă simt norocos
SOME_TEXT_WIDGET:
HEADLINE: Text modular
POPULAR_TAGS:
HEADLINE: Etichete populare
ARCHIVES:
HEADLINE: Arhive
SYNDICATE:
HEADLINE: Abonați-vă
FORM_DATA:
SUMMARY: "Acesta este rezumatul mesajului Dvs:"
ERROR: Eroare
ru:
TRANSLATION_TEST: Antimatter!
BLOG:
ITEM:
CONTINUE_READING: Читать далее...
NEXT_POST: Следующая запись
PREV_POST: Предыдущая запись
SIDEBAR:
SIMPLE_SEARCH:
HEADLINE: Поиск
RELATED_POSTS:
HEADLINE: Также читайте
RANDOM_ARTICLE:
HEADLINE: Случайная запись
FEELING_LUCKY: Мне повезёт!
SOME_TEXT_WIDGET:
HEADLINE: Текстовой виджет
POPULAR_TAGS:
HEADLINE: Популярные теги
ARCHIVES:
HEADLINE: Архив
SYNDICATE:
HEADLINE: Синдикация
FORM_DATA:
SUMMARY: "Вы написали нам:"
ERROR: Ошибка
uk:
TRANSLATION_TEST: Antimatter!
BLOG:
ITEM:
CONTINUE_READING: Читати далі...
NEXT_POST: Наступний запис
PREV_POST: Попередній запис
SIDEBAR:
SIMPLE_SEARCH:
HEADLINE: Пошук
RELATED_POSTS:
HEADLINE: Також читайте
RANDOM_ARTICLE:
HEADLINE: Випадковий запис
FEELING_LUCKY: Мені пощастить!
SOME_TEXT_WIDGET:
HEADLINE: Текстовий віджет
POPULAR_TAGS:
HEADLINE: Популярні теги
ARCHIVES:
HEADLINE: Архів
SYNDICATE:
HEADLINE: Синдикація
FORM_DATA:
SUMMARY: "Ви написали нам:"
ERROR: Помилка
hr:
TRANSLATION_TEST: Antimatter!
BLOG:
ITEM:
CONTINUE_READING: Nastavi s čitanjem...
NEXT_POST: Slijedeća objava
PREV_POST: Prethodna objava
SIDEBAR:
SIMPLE_SEARCH:
HEADLINE: Pretraživanje
RELATED_POSTS:
HEADLINE: Povezane objave
RANDOM_ARTICLE:
HEADLINE: Slučajni članak
FEELING_LUCKY: Osjećam se sretno!
SOME_TEXT_WIDGET:
HEADLINE: Neki tekst widget
POPULAR_TAGS:
HEADLINE: Popularni tagovi
ARCHIVES:
HEADLINE: Arhiva
SYNDICATE:
HEADLINE: Kanali
FORM_DATA:
SUMMARY: "Ovo je sažetak onog što ste nam napisali:"
ERROR: Greška
pl:
TRANSLATION_TEST: Antimatter!
BLOG:
ITEM:
CONTINUE_READING: Czytaj dalej...
NEXT_POST: Następny wpis
PREV_POST: Poprzedni wpis
SIDEBAR:
SIMPLE_SEARCH:
HEADLINE: Szukaj
RELATED_POSTS:
HEADLINE: Powiązane wpisy
RANDOM_ARTICLE:
HEADLINE: Losowy wpis
FEELING_LUCKY: Szczęśliwy traf!
SOME_TEXT_WIDGET:
HEADLINE: Jakiś tekst - widget
POPULAR_TAGS:
HEADLINE: Popularne tagi
ARCHIVES:
HEADLINE: Archiwum
SYNDICATE:
HEADLINE: Feed
FORM_DATA:
SUMMARY: "Podsumowanie tego co do nas napisałeś:"
ERROR: Błąd
pt-BR:
TRANSLATION_TEST: Antimatter!
BLOG:
ITEM:
CONTINUE_READING: Continue lendo...
NEXT_POST: Próximo Post
PREV_POST: Post anterior
SIDEBAR:
SIMPLE_SEARCH:
HEADLINE: Buscar
RELATED_POSTS:
HEADLINE: Posts relacionados
RANDOM_ARTICLE:
HEADLINE: Artigo aleatório
FEELING_LUCKY: Me sinto sortudo.
SOME_TEXT_WIDGET:
HEADLINE: Algum widget de texto
POPULAR_TAGS:
HEADLINE: Tags Populares
ARCHIVES:
HEADLINE: Arquivos
SYNDICATE:
HEADLINE: Feed
FORM_DATA:
SUMMARY: "Aqui está o resumo do que você nos escreveu:"
ERROR: Erro
@@ -52,7 +52,7 @@ $rule-color: #F0F2F4;
$code-text: #c7254e;
$code-bg: #f9f2f4;
$pre-text: #237794;
$pre-bg: #f6f6f6;
$pre-bg: #f0f0f0;
// Dark Contrast variation
$dark-navbar-text: #999;
@@ -1,4 +1,5 @@
// Header styling
$dropdown-color: #f6f6f6;
#header {
@extend .default-animation;
@@ -32,6 +33,10 @@
#navbar a:before, #navbar a:after {
background-color: $core-accent !important;
}
.navigation {
margin-top: 0.5rem !important;
}
}
// set heights for vertical centering
@@ -56,6 +61,44 @@
#navbar {
font-size: $core-font-size - 0.1rem;
/* Child Indicator */
.has-children {
& > a {
& > span {
display: inline-block;
padding-right: 8px;
&:after {
font-family: FontAwesome;
content: '\f107';
position: absolute;
display: inline-block;
right: 8px;
top: 4px;
}
}
&:after, &:before {
display: none;
}
}
& .has-children > a > span:after {
content: '\f105';
}
}
.navigation > .has-children:hover > a {
background: $dropdown-color;
border: 1px solid darken($dropdown-color, 4%);
border-bottom-color: $dropdown-color;
margin: -1px -1px 0 -1px;
z-index: 1000;
position: relative;
padding-bottom: 1px;
}
ul {
margin: 0;
@@ -63,10 +106,12 @@
list-style: none;
&.navigation {
@extend %vertical-align;
display: inline-block;
float: right;
@extend .default-animation;
margin-top: 1.4rem;
li {
float: left;
position: relative;
@@ -76,6 +121,9 @@
display: inline-block;
padding: 0.3rem 0.8rem;
-webkit-backface-visibility: hidden;
&:before, &:after {
content: "";
position: absolute;
@@ -87,6 +135,7 @@
visibility: hidden;
@include transform(scaleX(0));
@include transition(all 0.2s ease);
}
&:hover:before {
@@ -109,49 +158,55 @@
}
}
// Dropdown Menu Styles
/*Active dropdown nav item */
ul {
position: absolute;
background-color: $dropdown-color;
border: 1px solid darken($dropdown-color, 4%);
border-top: 0;
min-width: 12rem;
text-align: left;
z-index: 999;
left: -1px;
display: none;
padding: 0;
box-shadow: 0 0.05rem 1rem rgba(0,0,0, 0.15) !important;
}
ul li {
display: block;
float: none;
/* Active Dropdown nav item */
&.active > a {
background-color: darken($dropdown-color, 4%);
color: $core-accent;
}
&:hover > a {
background-color: $core-accent;
color: $white;
}
a {
display: block;
margin: 0 -1px;
&:after, &:before {
display: none;
}
}
}
/* Dropdown CSS */
ul ul {
left: 100%;
top: 0;
}
&:hover {
& > ul {
display: block;
position: absolute;
background: rgba($white, 0.9);
width: 10rem;
}
li {
float: none;
margin: 0;
padding: 0;
a {
padding: 0.5rem 0.8rem;
display: block;
&:before, &:after {
display: none;
}
}
&.active {
& > a {
background: $core-accent;
color: $white;
}
}
}
top: 0px;
}
/* Active on Hover */
&:hover > ul {
display: block;
}
}
@include breakpoint(desktop-only) {
display: none;
@@ -207,6 +262,10 @@
background-color: rgba($header-text,0);
box-shadow: none;
.navigation .has-children:hover a {
color: $core-accent;
}
#logo h3, #logo a {
color: $header-text;
}
@@ -217,15 +276,5 @@
background-color: rgba($header-text,0.7) !important;
}
#navbar ul.navigation {
ul li a {
color: $core-accent;
&:hover {
color: darken($core-accent, 20%);
}
}
}
}
}
@@ -32,6 +32,17 @@
}
}
.search-wrapper {
.search-submit {
height: 52px;
padding: 0 10px;
img {
width: 30px;
}
}
}
.search-details {
float: right;
margin-top: -2.5rem;
@@ -10,7 +10,7 @@
{% else %}
<div class="blog-header">
{% endif %}
{{ page.content }}
{{ page.content|raw }}
</div>
{% if config.plugins.breadcrumbs.enabled %}
@@ -18,7 +18,7 @@
{% endif %}
<div class="content-wrapper blog-content-list grid pure-g">
<div id="listing" class="block pure-u-2-3">
<div id="listing" class="block pure-u-2-3 h-feed">
{% for child in collection %}
{% include 'partials/blog_item.html.twig' with {'blog':page, 'page':child, 'truncate':true} %}
{% endfor %}
@@ -1,5 +1,5 @@
{% extends 'partials/base.html.twig' %}
{% block content %}
{{ page.content }}
{{ page.content|raw }}
{% endblock %}
@@ -3,9 +3,9 @@
{% block content %}
<div id="error">
<div>
<h1>Error {{ page.header.http_response_code }}</h1>
<h1>{{ 'ERROR'|t }} {{ page.header.http_response_code }}</h1>
<p>
{{ page.content }}
{{ page.content|raw }}
</p>
</div>
</div>
@@ -2,7 +2,7 @@
{% block content %}
{{ content }}
{{ content|raw }}
{% include "forms/form.html.twig" %}
{% endblock %}
@@ -6,7 +6,7 @@
{% endif %}
<div class="blog-content-item grid pure-g-r">
<div id="item" class="block pure-u-2-3">
<div id="item" class="block pure-u-2-3 h-entry">
{% include 'partials/blog_item.html.twig' with {'blog':page.parent, 'truncate':false} %}
</div>
<div id="sidebar" class="block size-1-3 pure-u-1-3">
@@ -35,7 +35,7 @@
{% endfor %}
{% for mitem in site.menu %}
<li>
<a href="{{ mitem.url }}">
<a {% if mitem.class %}class="{{ mitem.class }}"{% endif %} href="{{ mitem.url }}">
{% if mitem.icon %}<i class="fa fa-{{ mitem.icon }}"></i>{% endif %}
{{ mitem.text }}
</a>
@@ -48,9 +48,9 @@
{% endblock %}
{% block content %}
{{ page.content }}
{{ page.content|raw }}
{% for module in page.collection() %}
<div id="{{ _self.pageLinkName(module.menu) }}"></div>
{{ module.content }}
{{ module.content|raw }}
{% endfor %}
{% endblock %}
@@ -1,5 +1,5 @@
<div class="modular-row features {{ page.header.class}}">
{{ content }}
{{ content|raw }}
<div class="feature-items">
{% for feature in page.header.features %}
<div class="feature">
@@ -1,10 +1,10 @@
{% set showcase_image = page.media.images|first.grayscale().contrast(20).brightness(-125).colorize(-35,81,122) %}
{% if showcase_image %}
<div class="modular-row showcase flush-top" style="background-image: url({{ showcase_image.url }});">
<div class="modular-row showcase{% if page == page.parent.collection.first %} flush-top{% endif %}" style="background-image: url({{ showcase_image.url }});">
{% else %}
<div class="modular-row showcase">
{% endif %}
{{ content }}
{{ content|raw }}
{% for button in page.header.buttons %}
<a class="button{% if button.primary %} primary{% endif %}" href="{{ button.url }}">{{ button.text }}</a>
@@ -1,7 +1,7 @@
<div class="modular-row callout">
{% set image = page.media.images|first %}
{% if image %}
{{ image.cropResize(400,400).html('','','align-'~page.header.image_align) }}
{{ image.cropResize(400,400).html('','','align-'~page.header.image_align)|raw }}
{% endif %}
{{ content }}
{{ content|raw }}
</div>
@@ -1,22 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
{% set theme_config = attribute(config.themes, config.system.pages.theme) %}
<!DOCTYPE html>
<html lang="{{ grav.language.getActive ?: grav.config.site.default_lang }}">
<head>
{% block head %}
<meta charset="utf-8" />
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
{% include 'partials/metadata.html.twig' %}
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png', true) }}" />
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png') }}" />
<link rel="canonical" href="{{ page.url(true, true) }}" />
{% block stylesheets %}
{% do assets.addCss('theme://css/pure-0.5.0/grids-min.css', 103) %}
{% do assets.addCss('theme://css-compiled/nucleus.css',102) %}
{% do assets.addCss('theme://css-compiled/template.css',101) %}
{% do assets.addCss('theme://css/custom.css',100) %}
{% do assets.addCss('theme://css/font-awesome.min.css',100) %}
{% do assets.addCss('theme://css-compiled/nucleus.css', 102) %}
{% do assets.addCss('theme://css-compiled/template.css', 101) %}
{% do assets.addCss('theme://css/custom.css', 100) %}
{% do assets.addCss('theme://css/font-awesome.min.css', 100) %}
{% do assets.addCss('theme://css/slidebars.min.css') %}
{% if browser.getBrowser == 'msie' and browser.getVersion == 10 %}
@@ -27,17 +26,20 @@
{% do assets.addJs('theme://js/html5shiv-printshiv.min.js') %}
{% endif %}
{% endblock %}
{{ assets.css() }}
{% block javascripts %}
{% do assets.addJs('jquery',101) %}
{% do assets.addJs('theme://js/modernizr.custom.71422.js',100) %}
{% do assets.addJs('jquery', 101) %}
{% do assets.addJs('theme://js/modernizr.custom.71422.js', 100) %}
{% do assets.addJs('theme://js/antimatter.js') %}
{% do assets.addJs('theme://js/slidebars.min.js') %}
{% endblock %}
{{ assets.js() }}
{% endblock head%}
{% block assets deferred %}
{{ assets.css()|raw }}
{{ assets.js()|raw }}
{% endblock %}
{% endblock head %}
</head>
<body id="top" class="{{ page.header.body_classes }}">
<div id="sb-site">
@@ -76,23 +78,25 @@
</footer>
{% endblock %}
</div>
<div class="sb-slidebar sb-left sb-width-thin">
<div id="panel">
{% include 'partials/navigation.html.twig' %}
{% block sidebar_navigation %}
<div class="sb-slidebar sb-left sb-width-thin">
<div id="panel">
{% include 'partials/navigation.html.twig' %}
</div>
</div>
</div>
{% endblock %}
{% block bottom %}
<script>
$(function () {
$(document).ready(function() {
$.slidebars({
hideControlClasses: true,
scrollLock: true
});
<script>
$(function () {
$(document).ready(function() {
$.slidebars({
hideControlClasses: true,
scrollLock: true
});
});
});
});
</script>
</script>
{{ assets.js('bottom')|raw }}
{% endblock %}
</body>
</html>
@@ -1,4 +1,4 @@
<div class="list-item">
<div class="list-item h-entry">
{% set header_image = page.header.header_image|defined(true) %}
{% set header_image_width = page.header.header_image_width|defined(900) %}
@@ -7,24 +7,26 @@
<div class="list-blog-header">
<span class="list-blog-date">
<span>{{ page.date|date("d") }}</span>
<em>{{ page.date|date("M") }}</em>
<time class="dt-published" datetime="{{ page.date|date("c") }}">
<span>{{ page.date|date("d") }}</span>
<em>{{ page.date|date("M") }}</em>
</time>
</span>
{% if page.header.link %}
<h4>
{% if page.header.continue_link is not sameas(false) %}
<a href="{{ page.url }}"><i class="fa fa-angle-double-right"></i></a>
<h4 class="p-name">
{% if page.header.continue_link is not same as(false) %}
<a href="{{ page.url }}"><i class="fa fa-angle-double-right u-url"></i></a>
{% endif %}
<a href="{{ page.header.link }}">{{ page.title }}</a>
<a href="{{ page.header.link }}" class="u-url">{{ page.title }}</a>
</h4>
{% else %}
<h4><a href="{{ page.url }}">{{ page.title }}</a></h4>
<h4 class="p-name"><a href="{{ page.url }}" class="u-url">{{ page.title }}</a></h4>
{% endif %}
{% if page.taxonomy.tag %}
<span class="tags">
{% for tag in page.taxonomy.tag %}
<a href="{{ blog.url }}/tag{{ config.system.param_sep }}{{ tag }}">{{ tag }}</a>
<a href="{{ blog.url|rtrim('/') }}/tag{{ config.system.param_sep }}{{ tag }}" class="p-category">{{ tag }}</a>
{% endfor %}
</span>
{% endif %}
@@ -34,30 +36,39 @@
{% else %}
{% set header_image_media = page.media.images|first %}
{% endif %}
{{ header_image_media.cropZoom(header_image_width, header_image_height).html }}
{{ header_image_media.cropZoom(header_image_width, header_image_height).html|raw }}
{% endif %}
</div>
<div class="list-blog-padding">
{% if page.header.continue_link is sameas(false) %}
{{ page.content }}
{% if page.header.continue_link is same as(false) %}
<div class="e-content">
{{ page.content|raw }}
</div>
{% if not truncate %}
{% set show_prev_next = true %}
{% endif %}
{% elseif truncate and page.summary != page.content %}
{{ page.summary }}
<p><a href="{{ page.url }}">Continue Reading...</a></p>
<div class="p-summary e-content">
{{ page.summary|raw }}
<p><a href="{{ page.url }}">{{ 'BLOG.ITEM.CONTINUE_READING'|t }}</a></p>
</div>
{% elseif truncate %}
{% if page.summary != page.content %}
{{ page.content|truncate(550) }}
{% else %}
{{ page.content }}
{% endif %}
<p><a href="{{ page.url }}">Continue Reading...</a></p>
<div class="p-summary e-content">
{{ page.content|raw }}
<p><a href="{{ page.url }}">{{ 'BLOG.ITEM.CONTINUE_READING'|t }}</a></p>
</div>
{% else %}
{{ page.content }}
<div class="e-content">
{{ page.content|raw }}
</div>
{% if config.plugins.comments.enabled %}
{% include 'partials/comments.html.twig' %}
{% endif %}
{% set show_prev_next = true %}
{% endif %}
@@ -65,11 +76,11 @@
<p class="prev-next">
{% if not page.isFirst %}
<a class="button" href="{{ page.nextSibling.url }}"><i class="fa fa-chevron-left"></i> Next Post</a>
<a class="button" href="{{ page.nextSibling.url }}"><i class="fa fa-chevron-left"></i> {{ 'BLOG.ITEM.NEXT_POST'|t }}</a>
{% endif %}
{% if not page.isLast %}
<a class="button" href="{{ page.prevSibling.url }}">Previous Post <i class="fa fa-chevron-right"></i></a>
<a class="button" href="{{ page.prevSibling.url }}">{{ 'BLOG.ITEM.PREV_POST'|t }} <i class="fa fa-chevron-right"></i></a>
{% endif %}
</p>
{% endif %}
@@ -1,23 +1,34 @@
{% import _self as macros %}
{% macro loop(page) %}
{% import _self as macros %}
{% for p in page.children.visible %}
{% set current_page = (p.active or p.activeChild) ? 'active' : '' %}
<li class="{{ current_page }}">
<a href="{{ p.url }}">
{% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %}
{{ p.menu }}
</a>
{% if p.children.visible.count > 0 %}
{% if p.children.visible.count > 0 %}
<li class="has-children {{ current_page }}">
<a href="{{ p.url }}">
{% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %}
{{ p.menu }}
<span></span>
</a>
<ul>
{{ _self.loop(p) }}
{{ macros.loop(p) }}
</ul>
{% endif %}
</li>
</li>
{% else %}
<li class="{{ current_page }}">
<a href="{{ p.url }}">
{% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %}
{{ p.menu }}
</a>
</li>
{% endif %}
{% endfor %}
{% endmacro %}
<ul class="navigation">
{% if theme_config.dropdown.enabled %}
{{ _self.loop(pages) }}
{{ macros.loop(pages) }}
{% else %}
{% for page in pages.children.visible %}
{% set current_page = (page.active or page.activeChild) ? 'active' : '' %}
@@ -3,39 +3,39 @@
{% if config.plugins.simplesearch.enabled %}
<div class="sidebar-content">
<h4>SimpleSearch</h4>
<h4>{{ 'SIDEBAR.SIMPLE_SEARCH.HEADLINE'|t }}</h4>
{% include 'partials/simplesearch_searchbox.html.twig' %}
</div>
{% endif %}
{% if config.plugins.relatedpages.enabled and related_pages|length > 0 %}
<h4>Related Posts</h4>
<h4>{{ 'SIDEBAR.RELATED_POSTS.HEADLINE'|t }}</h4>
{% include 'partials/relatedpages.html.twig' %}
{% endif %}
{% if config.plugins.random.enabled %}
<div class="sidebar-content">
<h4>Random Article</h4>
<a class="button" href="{{ base_url }}/random"><i class="fa fa-retweet"></i> I'm Feeling Lucky!</a>
<h4>{{ 'SIDEBAR.RANDOM_ARTICLE.HEADLINE'|t }}</h4>
<a class="button" href="{{ base_url }}/random"><i class="fa fa-retweet"></i> {{ 'SIDEBAR.RANDOM_ARTICLE.FEELING_LUCKY'|t }}</a>
</div>
{% endif %}
<div class="sidebar-content">
<h4>Some Text Widget</h4>
<h4>{{ 'SIDEBAR.SOME_TEXT_WIDGET.HEADLINE'|t }}</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna.</p>
</div>
{% if config.plugins.taxonomylist.enabled %}
<div class="sidebar-content">
<h4>Popular Tags</h4>
<h4>{{ 'SIDEBAR.POPULAR_TAGS.HEADLINE'|t }}</h4>
{% include 'partials/taxonomylist.html.twig' with {'base_url':new_base_url, 'taxonomy':'tag'} %}
</div>
{% endif %}
{% if config.plugins.archives.enabled %}
<div class="sidebar-content">
<h4>Archives</h4>
<h4>{{ 'SIDEBAR.ARCHIVES.HEADLINE'|t }}</h4>
{% include 'partials/archives.html.twig' with {'base_url':new_base_url} %}
</div>
{% endif %}
{% if config.plugins.feed.enabled %}
<div class="sidebar-content syndicate">
<h4>Syndicate</h4>
<h4>{{ 'SIDEBAR.SYNDICATE.HEADLINE'|t }}</h4>
<a class="button" href="{{ feed_url }}.atom"><i class="fa fa-rss-square"></i> Atom 1.0</a>
<a class="button" href="{{ feed_url }}.rss"><i class="fa fa-rss-square"></i> RSS</a>
</div>
@@ -990,6 +990,9 @@ ul.pagination {
@media (max-width: 1024px) {
.texte-cache {
max-height: 445px; } }
@media (max-width: 1024px) and (max-width: 442px) {
.texte-cache {
max-height: 400px; } }
/*Style du module TEXTE lorsqu'il est ouvert*/
.texte-cache.ouvert {
@@ -1008,9 +1011,15 @@ ul.pagination {
@media (max-width: 1024px) {
.modular .features {
width: 80% !important;
margin-left: 8rem !important; }
margin: auto !important; } }
@media (max-width: 442px) {
.modular .features .feature {
width: 24% !important; } }
width: 80%; } }
@media (max-width: 1024px) {
.modular .features .feature {
width: 24%; } }
.bouton-ouverture {
position: relative;
@@ -1120,10 +1129,10 @@ ul.pagination {
padding-left: 0.8rem;
font-size: 0.75rem;
padding-right: 0.6rem; } }
.mozaique_personnes .equipe .personne .mozaique:hover {
background-color: #000;
color: #fff;
transition: 0.2s ease-in-out; }
.mozaique_personnes .equipe .personne .mozaique .info:hover {
background-color: #000;
color: #fff;
transition: 0.2s ease-in-out; }
.bouton {
border: solid !important;
@@ -1450,7 +1459,3 @@ button:focus {
.modular .modular-row:last-child {
margin-bottom: 2rem; }
@media (max-width: 442px) {
h1 {
font-size: 1.5rem; } }
@@ -359,6 +359,9 @@
transition: max-height 1s ease; /* Transition CSS entre l'ouverture et la fermeture*/
@media (max-width: 1024px) {
max-height: 445px;
@media (max-width:442px) {
max-height: 400px;
}
}
}
@@ -381,20 +384,22 @@
}
@media (max-width: 1024px) {
.modular .features {
width: 80% !important;
margin-left: 8rem !important;
}
.modular .features .feature {
width: 24% !important;
// margin-bottom: 10rem;
.modular .features {
@media (max-width: 1024px) {
width: 80% !important;
margin: auto !important;
}
}
.modular .features .feature {
// margin-bottom: 10rem;
@media (max-width: 442px) {width: 80% ;}
@media (max-width: 1024px) {width: 24% ;}
}
.bouton-ouverture {
position: relative;
justify-content: center;
@@ -543,14 +548,16 @@
font-size: 0.75rem;
padding-right: 0.6rem;
}
}
}
&:hover {
background-color: #000;
color: #fff;
transition:0.2s ease-in-out;
}
}
&:hover {
background-color: #000;
color: #fff;
transition:0.2s ease-in-out;
}
}
}
}
@@ -1,5 +0,0 @@
@media (max-width: 442px) {
h1 {
font-size: 1.5rem;
}
}
@@ -6,7 +6,7 @@
{% block javascripts %}
{% if show_onpage_menu %}
{% do assets.add('theme://js/singlePageNav.min.js') %}
{% endif %}
{{ parent() }}
{% endblock %}
@@ -28,9 +28,6 @@
{% endblock %}
{% block header_navigation %}
{% if show_onpage_menu %}
<ul class="navigation">
{% for module in page.collection() %}
@@ -49,17 +46,12 @@
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block content %}
{{ page.content|raw }}
{% for module in page.collection() %}
<div id="{{ _self.pageLinkName(module.menu) }}"></div>
{{ module.content|raw }}
{% endfor %}
{% endblock %}
@@ -18,6 +18,7 @@
{% do assets.addCss('theme://css/font-awesome.min.css', 100) %}
{% do assets.addCss('theme://css/slidebars.min.css') %}
{% if browser.getBrowser == 'msie' and browser.getVersion == 10 %}
{% do assets.addCss('theme://css/nucleus-ie10.css') %}
{% endif %}
@@ -25,7 +26,6 @@
{% do assets.addCss('theme://css/nucleus-ie9.css') %}
{% do assets.addJs('theme://js/html5shiv-printshiv.min.js') %}
{% endif %}
{% endblock %}
{% block javascripts %}
@@ -34,7 +34,6 @@
{% do assets.addJs('theme://js/antimatter.js') %}
{% do assets.addJs('theme://js/parallax.js') %}
{% do assets.addJs('theme://js/slidebars.min.js') %}
{% endblock %}
{% block assets deferred %}
@@ -47,16 +46,11 @@
<body id="top" class="{{ page.header.body_classes }}">
<div id="sb-site">
{% block header %}
<header id="header">
<div id="logo">
<img id="gouv" src="user/pages/01.home/Republique-francaise-logo-sans-text.svg" alt="logo République Française">
<img id="epau" src="user/pages/01.home/EPAU_logo_EPAU_vecto-seul.svg" alt="logo EPAU">
</div>
<div id="navbar">
{% block header_extra %}{% endblock %}
{% if config.plugins.langswitcher.enabled %}
@@ -67,16 +61,11 @@
{% endblock %}
<!-- <span class="panel-activation sb-toggle-left navbar-left menu-btn fa fa-bars"></span> -->
</div>
</header>
{% endblock %}
{% block showcase %}{% endblock %}
{% block body %}
<section id="body" class="{{ class }}">
{% block content %}{% endblock %}
@@ -95,8 +84,63 @@
{% block sidebar_navigation %}
<div class="sb-slidebar sb-left sb-width-thin">
<div id="panel">
{% include 'partials/navigation.html.twig' %}
{% import _self as macros %}
{% macro loop(page) %}
{% import _self as macros %}
{% for p in page.children.visible %}
{% set current_page = (p.active or p.activeChild) ? 'active' : '' %}
{% if p.children.visible.count > 0 %}
<li class="has-children {{ current_page }}">
<a href="{{ p.url }}">
{% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %}
{{ p.menu }}
<span></span>
</a>
<ul>
{{ macros.loop(p) }}
</ul>
</li>
{% else %}
<li class="{{ current_page }}">
<a href="{{ p.url }}">
{% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %}
{{ p.menu }}
</a>
</li>
{% endif %}
{% endfor %}
{% endmacro %}
<ul class="navigation">
{% if theme_config.dropdown.enabled %}
{{ macros.loop(pages) }}
{% else %}
{% for page in pages.children.visible %}
{% set current_page = (page.active or page.activeChild) ? 'active' : '' %}
<li class="{{ current_page }}">
<a href="{{ page.url }}">
{% if page.header.icon %}<i class="fa fa-{{ page.header.icon }}"></i>{% endif %}
{{ page.menu }}
</a>
</li>
{% endfor %}
{% endif %}
{% for mitem in site.menu %}
<li>
<a href="{{ mitem.url }}">
{% if mitem.icon %}<i class="fa fa-{{ mitem.icon }}"></i>{% endif %}
{{ mitem.text }}
</a>
</li>
{% endfor %}
{% if config.plugins.login.enabled and grav.user.username %}
<li><i class="fa fa-lock"></i> {% include 'partials/login-status.html.twig' %}</li>
{% endif %}
</ul>
<!-- {% include 'partials/navigation.html.twig' %} -->
</div>
</div>
{% endblock %}
@@ -22,8 +22,6 @@
{{ p.menu }}
</a>
</li>
{% endif %}
{% endfor %}
{% endmacro %}
@@ -53,5 +51,4 @@
{% if config.plugins.login.enabled and grav.user.username %}
<li><i class="fa fa-lock"></i> {% include 'partials/login-status.html.twig' %}</li>
{% endif %}
</ul>