bbaovanc
8083b1a299
WIP
2025-08-24 02:25:12 -05:00
bbaovanc
314b533698
WIP
2025-08-22 19:51:15 -05:00
bbaovanc
00a0f64be4
WIP body-module and smarter usage of container divs
2025-08-22 12:11:24 -05:00
bbaovanc
3d55a7dabe
Use individual <a> for each tag/category/etc in post metadata
...
Fixes #85
2025-08-09 22:34:11 -05:00
bbaovanc
67de113bdf
Change <header> to be entire top bar
...
This is more semantically correct.
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Roles/banner_role
2025-08-09 21:10:57 -05:00
bbaovanc
349672bbad
Hide comments counter when JavaScript disabled
2025-08-09 20:54:51 -05:00
bbaovanc
ec382b2085
Remove unused .view-section rule
...
It was introduced in 906b6213fd but it
doesn't look like it was actually used for anything.
2025-08-09 20:15:44 -05:00
bbaovanc
21f2a91b54
refactor: Move skip to main content CSS into baseof formatting section
2025-08-09 20:15:43 -05:00
bbaovanc
0237c496ed
refactor: Move components on both list & content pages to different fold
2025-08-09 20:15:38 -05:00
bbaovanc
61d5ca29dd
Set specific height of code block header
...
Otherwise it collapses to be too tiny if the copy button is removed.
2025-08-09 03:27:26 -05:00
bbaovanc
8bb8720545
Hide code block copy button when JavaScript is disabled
2025-08-09 03:27:05 -05:00
bbaovanc
c9909762d6
Remove use of style attributes on top level comment section elements
2025-08-09 02:20:33 -05:00
bbaovanc
14475c13f4
Remove full-width-hr shortcode
...
Not sure what I planned to use this for. It has since become outdated
and out of sync with the new margins I set on body recently in
4e753395ba and
6b729c6acf .
2025-08-08 14:10:20 -05:00
bbaovanc
6b729c6acf
Adjust margins on related-posts to match rest of body
...
Didn't notice this when writing 4e753395ba
2025-08-08 14:01:37 -05:00
bbaovanc
f751c4b104
Remove unused .full-width-page-list rule
2025-08-08 13:51:50 -05:00
bbaovanc
de20387b5a
Fix useless scrollbar on related posts
...
When all related posts fit on the same screen, there was a useless
scrollbar. I never noticed this because Firefox incorrectly hides the
scrollbar automatically. The issue is visible on Chromium.
2025-08-08 13:45:30 -05:00
bbaovanc
52a6440011
Remove heading-link class
...
It was used to make both website title and page titles in summaries not
have link color. Instead, just directly configure those elements.
2025-08-08 01:41:38 -05:00
bbaovanc
322928ed7a
Reorganize CSS to have better sections
...
- Separate baseof.html elements from styling code for general elements
used everywhere
- Rename some of the fold titles
- Include related posts section styling in the content styling section
2025-08-08 01:28:28 -05:00
bbaovanc
4e753395ba
Align top bar with main horizontal margin
...
- Use a variable to make sure that top bar and body margins stay equal
- Lower side margins to 16px so that the gap in navbar-items fits right
2025-08-08 01:02:04 -05:00
bbaovanc
b79c956c07
Remove make figure images centered and remove border
...
Also use a generic .figure-media class instead of manually specifying
both img and video in the CSS
Fixes #36 and a draft issue
2025-08-05 21:49:28 -05:00
bbaovanc
b15ca73977
Remove a few unnecessary elements when printing
...
- Hide clickable link icon on headings in articles
- Hide "Copy" button on code blocks
- Hide "View raw" button in page metadata
2025-07-30 01:45:11 -05:00
bbaovanc
d50a4dc6bd
Import remaining template and styling code from bbaovanc.com
...
It's probably better structure-wise to have it all consolidated in
bobatheme. Then bbaovanc.com is only concerned about content, not stuff
that I declared to be specific to my site. This came from when I had
multiple sites running bobatheme in the background, so now it's just an
arbitrary, legacy distinction.
Fixes #86
2025-07-30 00:43:05 -05:00
bbaovanc
8fafc843ef
WIP
2025-07-06 19:44:46 -05:00
bbaovanc
ca0f8d390c
Add workaround for code icon being chopped off on side
...
Introduced by 16f08dce7f . Since the aspect
ratio of the icon isn't square, it's too wide and collides with the text
next to it. Would be nice to follow #82 and switch to a better
maintained icon pack.
2025-07-01 02:57:55 -05:00
bbaovanc
16f08dce7f
Tweak icon size and alignment
...
Use em units so it matches the text size automatically. Using sub for
vertical-align seems to look a little nicer? Maybe only so because now
the height of icon matches the font size now.
2025-07-01 02:09:15 -05:00
bbaovanc
c06e7eb938
Remove assets/js/share-event.js
...
Moved this completely to bbaovanc.com repo. I think it was here as a
placeholder purely because of some issue with global resources not
working in the past. It seems like it maybe works fine now though.
2025-07-01 00:52:33 -05:00
bbaovanc
c9095e948b
Replace table shortcode with markdown attributes for class
2024-11-15 17:25:46 -06:00
bbaovanc
788583ea23
Update syntax styles to fix user-select
...
Turns out the last commit didn't work because bobastyle.css has lower
priority than the syntax CSS. But Hugo must've updated the styles
upstream because it's fixed after regenerating.
2023-12-01 20:05:42 -06:00
bbaovanc
4216b9ed6f
Add vendor-prefixed user-select to code block line numbers
2023-12-01 19:57:39 -06:00
bbaovanc
c980ced2fb
Remove back to top button
...
It's kind of ugly and weird, and probably not necessary. I might add it
back in the future if it's actually needed again.
2023-11-05 17:41:59 -06:00
bbaovanc
ede5958a46
Fix main container padding when printing
2023-11-02 01:01:24 -05:00
bbaovanc
12c6efc0fe
Add "Skip to main content" tab-focusable button
...
- https://webaim.org/techniques/skipnav/
- https://css-tricks.com/how-to-create-a-skip-to-content-link/
2023-10-21 20:21:26 -05:00
bbaovanc
0e930f7ae1
Clean up dom layout of full-width page lists
...
They shouldn't be a child of the centered, max-width'd body because they
need to be full width. So put them outside of the main container div.
2023-10-21 19:44:02 -05:00
bbaovanc
0ddf0bdf42
Improve print compatiblity with navbar redesign
2023-10-15 20:54:11 -05:00
bbaovanc
03d826f1c4
Fix wrong highlight color on navbar
2023-10-15 19:40:45 -05:00
bbaovanc
f94307cdbf
Redesign navbar to be full width
2023-10-15 19:33:10 -05:00
bbaovanc
e8a34ae4a4
Add gap before page-list when there's no text description
2023-04-10 15:08:33 -05:00
bbaovanc
ad5c40b02b
Use CSS to set footer font size instead of <small>
2023-04-06 00:18:18 -05:00
bbaovanc
e6b5997dff
Move @media specializations section instead of previous commit
...
Reverts 960d1d24be
2023-04-06 00:12:43 -05:00
bbaovanc
960d1d24be
Fix table of contents on print
2023-04-06 00:11:12 -05:00
bbaovanc
7bc8a4cb57
Clean up CSS
...
- Add vim folds to make organized sections
- Rename a lot of classes from post- to page-
- Generalize series CSS classes better
- Clean up navbar div structure
- Remove langpicker and most of multilingual support
- many other minor tweaks
2023-03-24 08:49:02 -05:00
bbaovanc
d34b2a56d7
Remove series position indicator -- racy and buggy
2023-03-18 21:11:07 -05:00
bbaovanc
6f140f096b
Organize summary template files
...
Also a small CSS patch to fix margin around post-title
2023-02-28 18:24:19 -06:00
bbaovanc
1caa7acdc9
Prevent page breaking in some elements when printing
2023-01-27 16:39:04 -06:00
bbaovanc
dd65d55389
Make sure link-1 has enough contrast
2023-01-26 16:54:17 -06:00
bbaovanc
c7acf8ce38
Add link-1 color to light theme too
2023-01-26 16:47:39 -06:00
bbaovanc
d7647a0b6f
Fix table borders between th and td in same line
2023-01-26 16:43:46 -06:00
bbaovanc
0744af717d
Fix code block text sizing on mobile safari
2023-01-24 01:54:27 -06:00
bbaovanc
23f86d5982
Use relative URL for fonts
...
Makes it work when the website isn't on root (such as demo)
2023-01-24 01:34:23 -06:00
bbaovanc
b854ae48e6
Specify table.markdown instead of just .markdown for table styling
2023-01-23 18:11:00 -06:00