Skip to content

Commit 17be231

Browse files
committed
feat: updated Simple theme v.3.2.0.0
- added new variable fonts (45 new fonts) - improved videos/iframe handling
1 parent 46862ec commit 17be231

128 files changed

Lines changed: 5491 additions & 39 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 241 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,241 @@
1+
# Changelog
2+
3+
## [3.2.0.0] - 2025-11-04
4+
### Added
5+
- Added new variable fonts
6+
### Improved
7+
- Improved videos/iframe handling
8+
9+
## [3.1.4.0] - 2025-10-15
10+
### Improved
11+
- Adjust textarea gap and author date margin for improved layout
12+
13+
## [3.1.3.0] - 2025-04-26
14+
### Added
15+
- Added support for post prefix page. A dedicated posts.hbs template is now used when a post prefix path (e.g., /blog/) is defined, instead of falling back to the homepage index.hbs. This improves consistency and provides a clearer separation between homepage and post prefix listings.
16+
17+
## [3.1.2.0] - 2025-02-08
18+
### Improved
19+
- Enhanced post image styling (margins) and add blog index body class
20+
### Removed
21+
- Removed unnecessary onclick attribute from back to top button in footer
22+
23+
## [3.1.1.0] - 2025-01-21
24+
### Improved
25+
- Some UI improvements
26+
### Fixed
27+
- Resolved issue with horizontal scrollbar on Windows OS,
28+
### Removed
29+
- Removed unnecessary gallery CSS rule
30+
31+
## [3.1.0.0] - 2024-12-10
32+
### Removed
33+
- Removed built-in gallery to support external gallery plugins
34+
35+
## [3.0.0.0] - 2024-07-07
36+
### Added
37+
- Added support for italic fonts
38+
- Redesigned the theme
39+
40+
## [2.9.0.0] - 2024-06-30
41+
### Added
42+
- Added support for Pages
43+
- Added new typography options: now you can adjust letter spacing or line height for both body and heading elements.
44+
- Added a new baseline option to defines a core vertical rhythm unit for consistent spacing across the website
45+
46+
### Improved
47+
- Minor CSS enhancements
48+
49+
## [2.8.3.0] - 2023-11-03
50+
### Fixed
51+
- Resolved issue with missing the responsive thumbnails on the post page
52+
53+
## [2.8.2.0] - 2023-10-25
54+
### Fixed
55+
- Resolved checkIf function issue caused by parsing error in Handlebars, occurring when SocialSharing plugin was missing
56+
### Updated
57+
- Updated X Twitter icon
58+
59+
## [2.8.1.0] - 2023-10-21
60+
### Fixed
61+
- Fixed the CSS error related to the missing ‘gray-2’ CSS variable
62+
63+
## [2.8.0.0] - 2023-10-20
64+
**Note:** The new features and enhancements require at least Publii version 0.43.1!
65+
### Added
66+
- Added a ‘customSocialSharing’ custom HTML position to support the Social Sharing plugin
67+
68+
## [2.7.0.0] - 2023-10-03
69+
### Added
70+
- Added more variable fonts
71+
### Improved
72+
- Made minor CSS improvements
73+
74+
## [2.6.2.0] - 2023-04-17
75+
### Added
76+
- Added option to disable tag counter on Tags page
77+
### Improved
78+
- Minor CSS enhancements
79+
80+
## [2.6.1.0] - 2023-04-03
81+
### Changed
82+
- Reorganized and renamed theme options to improve navigation and readability
83+
84+
## [2.6.0.0] - 2023-03-29
85+
**Note:** The new features and enhancements require at least Publii version 0.42.x!
86+
### Added
87+
- Implemented support for new tag and author options
88+
- Added support for new extended menu assignment options
89+
- Removed AMP-related files
90+
- Added the NoScript tag to handle images when JavaScript is disabled
91+
### Improved
92+
- Made minor CSS improvements
93+
94+
## [2.5.0.0] - 2022-07-07
95+
**Note:** The new features and enhancements require at least Publii version 0.40.x!
96+
### Added
97+
- Added support for Search plugins
98+
- Added a script to calculate the aspect ratio of the iframes automatically
99+
- Added support for Emended Content Consent
100+
- Updated menu script
101+
- Updated supportedFeatures section
102+
103+
## [2.4.1.0] - 2022-03-20
104+
### Adjusted
105+
- Slight Dark mode CSS adjustment
106+
107+
## [2.4.0.0] - 2022-03-16
108+
**Note:** The new features and enhancements require at least Publii version 0.39.x!
109+
### Changed
110+
- Changed how Google fonts are handled, from loading them from a CDN to hosting them locally
111+
### Added
112+
- Added Dark Mode (now it supports light, dark, and auto mode)
113+
- Added support for Comment plugins
114+
- Updated Facebook social icon
115+
- Updated avatar code markup
116+
- Changed the way the “Back to top” button works
117+
118+
## [2.3.3.0] - 2021-11-07
119+
### Fixed
120+
- Fixed Photoswipe script to open gallery image in the pop-up window directly by firing image URL
121+
- Updated Disqus script (now uses an Intersection Observer to detect / load comment section)
122+
- Updated menu script
123+
### Improved
124+
- Improved accessibility of the navigation menu
125+
### Changed
126+
- Changed the way CSS variables work in the theme (now uses theme-variables.js)
127+
- Small CSS improvements
128+
129+
## [2.3.0.0] - 2020-09-25
130+
**Note:** The new features and enhancements require Publii version 0.37.x!
131+
### Added
132+
- Added support for tags page
133+
- Added support for tag featured image
134+
- Added support for author featured image
135+
- Added support for author website field
136+
- Added supported features flags
137+
- Added option to define the number of related posts
138+
- Updated Disqus script
139+
140+
## [2.2.3.0] - 2020-06-16
141+
### Updated
142+
- Updated menu script to support the anchors in mobile view
143+
### Fixed
144+
- Fixed mobile menu styling
145+
146+
## [2.2.2.0] - 2020-06-04
147+
### Added
148+
- Added aria-label to the search input
149+
### Fixed
150+
- Fixed zoom/in/out gallery option
151+
- Updated font.hbs file
152+
- Fixed WhatsApp share button
153+
154+
## [2.2.1.0] - 2020-05-25
155+
**Note:** Before installing, make sure you have installed Publii at least version 0.36.0! If you need to keep using Publii 0.35.3 you can always download the previous version of the theme from [here](https://cdn.getpublii.com/themes/simple_2.1.0.0.zip).
156+
### Added
157+
- Added support for „Enable Responsive Images” option
158+
- Added support for native Lazy Loading
159+
### Adjusted
160+
- Typo adjustment
161+
### Updated
162+
- Updated Photoswipe gallery to 4.1.3 version
163+
### Fixed
164+
- Fixed gallery UI buttons behavior on hover
165+
### Rewritten
166+
- Rewritten to use CSS variables
167+
168+
## [2.1.0.0] - 2020-01-13
169+
### Added
170+
- Added Block editor support
171+
172+
## [2.0.4.0] - 2019-11-27
173+
**Note:** Before installing, make sure you have installed Publii at least version 35.3
174+
### Added
175+
- Added support for better display of SVG images
176+
177+
## [2.0.3.0] - 2019-08-04
178+
### Optimized
179+
- Optimized image lazyload for the smoothest, fastest experience possible
180+
### Fixed
181+
- Fixed page scrolling when the mobile menu is opened (iOS only)
182+
### Added
183+
- Added WhatsApp share button
184+
185+
## [2.0.2.1] - 2019-05-25
186+
### Fixed
187+
- Fixed display of the image in the post content
188+
189+
## [2.0.2.0] - 2019-05-13
190+
### Improved
191+
- Improved the way the first menu level is displayed; now the menu items break down on the next line when it is needed
192+
### Fixed
193+
- Fixed the hero section by removing the space between the image and the right side of the browser window
194+
195+
## [2.0.1.0] - 2019-05-09
196+
### Rewritten
197+
- A minor redesign, with a rewritten code to make it more efficient
198+
### Added
199+
- An option for displaying a featured image on post list pages
200+
- Overhauled menu system! New scripts, two mobile menu styles (Sidebar and overlay), and a reactive submenu that shifts position when it gets too close to the edge of the browser window
201+
- Responsive iframes (for things like videos, maps etc…)
202+
- No more jQuery; now Simple uses Vanilla scripts
203+
- Expanded hero section controls
204+
- New font selection options
205+
- New ‘Back to Top’ option
206+
- A new gallery style and optimized image lazyload for the smoothest, fastest experience possible
207+
208+
## [1.7.2.0] - 2019-03-28
209+
### Added
210+
- Added option to change the overlay of hero section; now it supports gradient or solid color
211+
212+
## [1.7.1.0] - 2019-03-25
213+
### Removed
214+
- If the menu is unassigned to any menu position, its HTML markup is no longer displayed
215+
- Removed Google+ service due to its shutdown on April 2
216+
217+
## [1.7.0.0] - 2019-03-02
218+
### Changed
219+
- Gallery styling has been changed
220+
### Centered
221+
- Centered caption in a gallery lightbox
222+
### Fixed
223+
- Fixed pagination ordering
224+
- Fixed Pinterest share button
225+
226+
## [1.6.1.0] - 2018-12-12
227+
### Added
228+
- Added support for a table of content
229+
- Updated the lazysizes script to v. 1.4.5
230+
- Added preload option to an image gallery
231+
- jQuery JavaScript library is now served locally
232+
233+
## [1.6.0.0] - 2018-10-22
234+
### Changed
235+
- Changed the CSS style of the <hr> tag
236+
- Moved share icons to the bottom of article
237+
- Updated StumbleUpon share button, now it’s Mix.com
238+
### Fixed
239+
- Fixed the image logo, now it looks well on the mobile devices too
240+
### Removed
241+
- Removed the lazyload from the hero image to speed up its loading

app/default-files/default-themes/simple/assets/css/main.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,13 @@ textarea {
17341734
content: "";
17351735
padding-top: var(--embed-aspect-ratio);
17361736
}
1737-
.post__video iframe, .post__video video, .post__iframe iframe, .post__iframe video {
1737+
.post__video iframe[height*="%"][width*="%"],
1738+
.post__video video[height*="%"][width*="%"],
1739+
.post__video iframe[height]:not([height*="%"])[width]:not([width*="%"]),
1740+
.post__video video[height]:not([height*="%"])[width]:not([width*="%"]), .post__iframe iframe[height*="%"][width*="%"],
1741+
.post__iframe video[height*="%"][width*="%"],
1742+
.post__iframe iframe[height]:not([height*="%"])[width]:not([width*="%"]),
1743+
.post__iframe video[height]:not([height*="%"])[width]:not([width*="%"]) {
17381744
border: none;
17391745
height: 100%;
17401746
left: 0;
@@ -1743,6 +1749,9 @@ textarea {
17431749
bottom: 0;
17441750
width: 100%;
17451751
}
1752+
.post__video:has(iframe:not([height]))::before, .post__video:has(iframe:not([width]))::before, .post__video:has(video:not([height]))::before, .post__video:has(video:not([width]))::before, .post__iframe:has(iframe:not([height]))::before, .post__iframe:has(iframe:not([width]))::before, .post__iframe:has(video:not([height]))::before, .post__iframe:has(video:not([width]))::before {
1753+
display: none;
1754+
}
17461755
.post__toc {
17471756
margin-top: calc(var(--baseline) * 6 + 0.5vw);
17481757
}

app/default-files/default-themes/simple/assets/css/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
Copyright 2021 The Albert Sans Project Authors (https://github.com/usted/Albert-Sans)
2+
3+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
4+
This license is copied below, and is also available with a FAQ at:
5+
https://openfontlicense.org
6+
7+
8+
-----------------------------------------------------------
9+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10+
-----------------------------------------------------------
11+
12+
PREAMBLE
13+
The goals of the Open Font License (OFL) are to stimulate worldwide
14+
development of collaborative font projects, to support the font creation
15+
efforts of academic and linguistic communities, and to provide a free and
16+
open framework in which fonts may be shared and improved in partnership
17+
with others.
18+
19+
The OFL allows the licensed fonts to be used, studied, modified and
20+
redistributed freely as long as they are not sold by themselves. The
21+
fonts, including any derivative works, can be bundled, embedded,
22+
redistributed and/or sold with any software provided that any reserved
23+
names are not used by derivative works. The fonts and derivatives,
24+
however, cannot be released under any other type of license. The
25+
requirement for fonts to remain under this license does not apply
26+
to any document created using the fonts or their derivatives.
27+
28+
DEFINITIONS
29+
"Font Software" refers to the set of files released by the Copyright
30+
Holder(s) under this license and clearly marked as such. This may
31+
include source files, build scripts and documentation.
32+
33+
"Reserved Font Name" refers to any names specified as such after the
34+
copyright statement(s).
35+
36+
"Original Version" refers to the collection of Font Software components as
37+
distributed by the Copyright Holder(s).
38+
39+
"Modified Version" refers to any derivative made by adding to, deleting,
40+
or substituting -- in part or in whole -- any of the components of the
41+
Original Version, by changing formats or by porting the Font Software to a
42+
new environment.
43+
44+
"Author" refers to any designer, engineer, programmer, technical
45+
writer or other person who contributed to the Font Software.
46+
47+
PERMISSION & CONDITIONS
48+
Permission is hereby granted, free of charge, to any person obtaining
49+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
50+
redistribute, and sell modified and unmodified copies of the Font
51+
Software, subject to the following conditions:
52+
53+
1) Neither the Font Software nor any of its individual components,
54+
in Original or Modified Versions, may be sold by itself.
55+
56+
2) Original or Modified Versions of the Font Software may be bundled,
57+
redistributed and/or sold with any software, provided that each copy
58+
contains the above copyright notice and this license. These can be
59+
included either as stand-alone text files, human-readable headers or
60+
in the appropriate machine-readable metadata fields within text or
61+
binary files as long as those fields can be easily viewed by the user.
62+
63+
3) No Modified Version of the Font Software may use the Reserved Font
64+
Name(s) unless explicit written permission is granted by the corresponding
65+
Copyright Holder. This restriction only applies to the primary font name as
66+
presented to the users.
67+
68+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69+
Software shall not be used to promote, endorse or advertise any
70+
Modified Version, except to acknowledge the contribution(s) of the
71+
Copyright Holder(s) and the Author(s) or with their explicit written
72+
permission.
73+
74+
5) The Font Software, modified or unmodified, in part or in whole,
75+
must be distributed entirely under this license, and must not be
76+
distributed under any other license. The requirement for fonts to
77+
remain under this license does not apply to any document created
78+
using the Font Software.
79+
80+
TERMINATION
81+
This license becomes null and void if any of the above conditions are
82+
not met.
83+
84+
DISCLAIMER
85+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93+
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)