27
0
Fork 1
forked from mirror/Mainroad
Commit graph

75 commits

Author SHA1 Message Date
0365a26f4a minify js 2025-02-19 19:07:20 +00:00
Mansoor Barri
b685e712b8
remove duplicate svg directory 2025-01-05 15:35:50 +00:00
Mansoor Barri
aeb30b0e38
fix issue 2025-01-04 06:43:16 +00:00
cdyson37
19b9b83441 Add highlightColor option () 2019-06-13 00:09:04 +03:00
vimux
04a6e40154
Store all svg icons as partials 2019-03-21 17:21:54 -04:00
vimux
7a5be6473a
Fix color contrast (#e64946 → #e22d30)
WCAG 2 AA contrast ratio compliance
2019-03-21 17:21:54 -04:00
vimux
239548150c
Drop IE10 support 2019-03-17 17:37:40 -04:00
vimux
0cb6692632
Improve "Languages" widget appearance
Related to a70c0e7cb7
2019-02-03 09:56:04 -05:00
TomP
6d324fb267 Better support code blocks in mobile view () 2019-01-29 14:27:13 +00:00
vimux
630659cf23
Check that menu variables are not falsy
Fix 
2018-10-28 11:29:53 -04:00
Vimux
08ff4c67f9
Update main menu: avoid third-party JS library ()
* Reduce JS asset size (avoid third-party JS lib)
* Use absolute position on mobile to prevent reflow
* Load inline JS feature detection script from head
* Fix  issue
2018-10-25 05:15:41 -04:00
vimux
e9549a3d1a
Lint: CSS & partials
+ Temporary disable ESLint check for scripts.js
2018-10-19 09:08:00 -04:00
Patrik Keller
3e7aabb01a Add Secondary menus () 2018-10-18 08:44:50 -04:00
vimux
b600bfc3da
Improve BEM in post_meta.html partial 2018-09-20 14:39:52 +03:00
vimux
2ff049fb4a
Fix menu item height in no js mode (>768) 2018-09-13 12:08:08 +03:00
vimux
5cf8dff3e8
Fix site layout
Fix 
2018-09-12 08:53:01 +03:00
vimux
efbe741bfc
BEMify .container classes 2018-09-11 10:38:03 +03:00
Patrik Keller
1033aa424a Fix figcaption CSS ()
Fix 
2018-09-06 08:52:39 +03:00
Patrik Keller
1281457f0e Add support for subtitles () 2018-09-02 15:33:56 +03:00
vimux
1d97bc58b0
Remove outline transition effect for search input 2018-08-29 22:11:31 +03:00
vimux
aacfde5caa
Improve CSS for post_nav partial 2018-08-29 21:42:47 +03:00
Patrik Keller
5acc7bf986 Fix post_nav appearance ()
Fix 
2018-08-29 08:35:35 +03:00
vimux
325ad1af57
Fix flexbox site layout
Fix 
2018-08-22 21:55:59 +03:00
vimux
eb64c2c32d
Various CSS improvements
* Fix monospace font stack
* Fix search field appearance
* Change hover border-color for text input & textarea
* Add styles for [type=reset] button
* Invert background-color and hover background-color for input[type=reset] & input[type=submit] (more consistent)
* Textarea: allow only vertical resize
2018-08-14 16:50:31 +03:00
vimux
198a3c7938
Use flexbox site layout 2018-08-07 16:36:18 +03:00
vimux
6508f14f95
Add configurable appearance layouts
* Use Flexbox for configurable layouts
* Add `homeLayout`, `listLayout`, 'singleLayout' config options
* Delete `leftsidebar` config option
* Fix 

It works as planned, but the code is not perfect, refactoring required
2018-08-07 11:50:30 +03:00
vimux
821415c071
Delete CSS columns
Fix conflict with KaTeX's .col-align-* class definitions

Close 
2018-06-29 16:03:18 +03:00
vimux
9beccbad57
Fix post-nav__link focus outline 2018-06-18 16:15:58 +03:00
vimux
7404c6050a
Fix logo padding 2018-06-15 19:36:50 +03:00
vimux
bbea1fbc41
Add initial Table of Contents partial
Unfortunately, the CSS code for this block is horrible (No BEM). BEM-like syntax will not be possible due to Hugo limitations.

Fix 
2018-06-15 13:27:39 +03:00
vimux
405b70edbb
Fix weird focus on the logo 2018-06-13 16:10:50 +03:00
vimux
1fd1f05bd9
Add styles for figure and figcaption elements 2018-04-16 10:52:06 +03:00
vimux
e8be4ae9e2
Lint CSS
Resolve all lint issues
2018-04-16 09:52:49 +03:00
vimux
ab57474c9d
Simplify CSS
Clean up unused css, rearrange selectors, trim leading-zero, also delete selectors for obsolete HTML elements (applet, acronym...)
2018-04-15 23:02:51 +03:00
vimux
5408929309
Order CSS 2018-04-13 12:34:00 +03:00
vimux
e9cfe355c5
Refactoring 2018-04-12 21:58:44 +03:00
vimux
c44ff59565
Delete box-shadow prefixes 2018-04-12 13:19:31 +03:00
vimux
cf98babb3b
Fix CSS bugs
Fix i and em tag styles. 
Don't use H1 and H2 tags for logo and subtitle.
Fix wrong font-size, white-space, blockquote and more...
2018-04-11 18:30:08 +03:00
vimux
8ee2d7e94b
Clean up CSS 2018-04-05 20:27:37 +03:00
vimux
f4b5707fe2
Clean up: delete unnecessary class 2018-04-05 12:04:26 +03:00
vimux
9a3f0fcd5a
Show excerpts on mobile 2018-04-05 11:50:11 +03:00
vimux
7cfcd91595
Modify footer styles 2018-04-05 11:40:14 +03:00
vimux
c188127b30
Delete screen-reader-text 2018-04-05 11:12:59 +03:00
vimux
b38950199e
Fix space between time and category in meta info
Close 
2018-04-03 17:55:39 +03:00
vimux
fab4b0b562
Add apple-touch-icon 2018-04-03 12:59:14 +03:00
vimux
66c03ca0bc
Add styles for hr 2018-04-03 11:28:12 +03:00
vimux
92b4d7802c Add styles for <code>
Fix 
2017-09-18 12:24:39 +03:00
vimux
9fda6a5763 Add custom 404 page 2017-08-21 12:57:32 +03:00
vimux
faad173252 Add exception for empty main menu
Show divider only if main menu is empty.
2017-06-26 16:36:48 +03:00
middling
6090b6c354 Support for lastmod in frontmatter. ()
Add lastmod support

If frontmatter has a `lastmod` string, and if it is different from the `date` string, display a `Last Modified:` date in parenthesis after the post's published date.
2017-06-05 11:15:18 +03:00