Commit graph

161 commits

Author SHA1 Message Date
westtle
38f39999b5 added and edited some comments 2024-02-14 11:29:24 +07:00
westtle
ad2b62cfc8 moved @font-face to fonts.css 2024-02-14 11:08:26 +07:00
westtle
4aa2eea146 added closing tag to some <svg> elements 2024-02-14 10:20:04 +07:00
westtle
12f35def15 moved <title> inside <svg> to the correct place 2024-02-14 10:18:13 +07:00
westtle
88c9d21dc8 added forward slash (/) to self-closing tags 2024-02-14 10:16:45 +07:00
westtle
8c64f5af43 added .class to <noscript> 2024-02-13 22:35:27 +07:00
westtle
b2ed8fae5d added [hidden] attribute to <noscript> inside .settings
to avoid two list appearing when both css and js are disabled.
2024-02-13 22:18:29 +07:00
westtle
e5057a2ac3 aria-hidden and tabindex -1 in .settings to be loaded in javascript
this way people can still tab and use a screen reader when both css and js are disabled.
i don't know who or why you would even want to do that, but oh well.
2024-02-13 22:15:16 +07:00
westtle
8b5e7f0bd9 removed one of two clip in .--sr-only 2024-02-13 19:12:22 +07:00
westtle
89d35dde8c add fallback if flex is not supported 2024-02-13 18:48:38 +07:00
westtle
e0503aa037 added width 100% to .simple-note__input 2024-02-13 18:23:54 +07:00
westtle
079990d51e added no javascript support 2024-02-13 18:17:45 +07:00
westtle
46e73cf978 change aria-describedby for settings toggle when expanded / collapsed. 2024-02-13 15:19:42 +07:00
westtle
d357eff591 used hsla() instead of hsl() on some colors 2024-02-13 14:36:45 +07:00
westtle
bc3e81b49c added reset for <main> 2024-02-13 14:27:51 +07:00
westtle
091ac5a4c5 used scoped variables in settings.css 2024-02-13 14:12:45 +07:00
westtle
c39d373f75 changed placeholder and icons color
from boulder to gray.
2024-02-13 12:52:02 +07:00
westtle
d8bf46abae changed cover.png to a better quality one 2024-02-12 19:21:20 +07:00
westtle
e6c545b4c1 added css reset for <a> tag 2024-02-12 19:07:51 +07:00
westtle
94c1e8aa40 used fixed width on settings buttons 2024-02-12 18:36:27 +07:00
westtle
7eae33f6a1 changed width and height attribute for westtle <svg> 2024-02-12 03:20:12 +07:00
westtle
6f4727ffa2 used aria-labelledby for <a> tag inside .settings 2024-02-12 03:09:14 +07:00
westtle
8f4c251b6d lowercase <meta> x-ua-compatible 2024-02-12 03:02:17 +07:00
westtle
1030131581 added <link> rel canonical to <head> 2024-02-12 03:00:29 +07:00
westtle
b606570345 added open graph and twitter card to <head> 2024-02-12 02:57:34 +07:00
westtle
63defc6dd7 added .-flex utility class
used display flex in its own class instead in .-flex-column.
2024-02-11 21:50:55 +07:00
westtle
ba70d436d0 moved fonts.css content to global.css 2024-02-11 21:47:17 +07:00
westtle
5dc8ecf00d renamed style.css to simple-note.css 2024-02-11 21:36:31 +07:00
westtle
763b0340f8 added different css file for settings 2024-02-11 21:34:53 +07:00
westtle
43e0098b70 added different css file for base/global styling 2024-02-11 21:29:41 +07:00
westtle
eb7d89c209 added different css file for @font-face 2024-02-11 21:19:59 +07:00
westtle
48fc264c6b added color-scheme dark for dark theme
color-scheme: dark;
using it will change the scrollbar color to fit the theme.
2024-02-11 18:01:33 +07:00
westtle
456dc55251 used single dash (-) instead of double to indicate utility classes 2024-02-11 17:58:07 +07:00
westtle
c709711dea changed :focus-visible
used it as css reset, removed --focus-* in :root, added fallback in custom properties used by :focus-visible.
2024-02-11 17:49:11 +07:00
westtle
517341c75b changed appearance of settings
i forgot to commit the changes one by one but this is some of the things i did: changed some .class in html, fixed some bugs, making the whole settings position fixed, added more javascript, and more.
2024-02-11 16:36:41 +07:00
westtle
3cde3b8fee added favicon(s)
...and some other stuff. i used a favicon generator (realfavicongenerator.net) and just removed some images i don't need (pretty sure there are more stuff that aren't necessary but i will keep them for now).
2024-02-08 15:59:33 +07:00
westtle
8e89441701 added opacity to ::placeholder 2024-02-08 11:22:39 +07:00
westtle
2789e21bf2 utf-8 instead of UTF-8 2024-02-07 13:12:02 +07:00
westtle
4a8408ed9c created .--flex-column and .--flex-grow helper .class
used on element that needed to be viewport height, except for .simple-note__input--body where it only needs to grow.
2024-02-07 13:08:26 +07:00
westtle
e330152df7 changed sr-only to --sr-only
used double dash (--) to mark a helper class.
2024-02-07 12:52:44 +07:00
westtle
3b4963d77c added min-height to <body>
used the height of .settings element.
2024-02-07 12:48:55 +07:00
westtle
146cf2edd8 added <meta> http-equiv
i don't think i need it, but why not.
2024-02-07 12:23:59 +07:00
westtle
2bd37cbb4d initial-scale 1.0 instead of 1 for <meta> viewport 2024-02-07 12:03:51 +07:00
westtle
458bbdee0b indentation fix 2024-02-07 12:03:13 +07:00
westtle
d4633b327a disable animation/transition if user prefers reduced motion 2024-02-07 10:16:05 +07:00
westtle
8e9ee2abb7 moved some css and added a comment 2024-02-07 09:30:33 +07:00
westtle
2d1ffc09d3 added dark theme 2024-02-07 09:28:11 +07:00
westtle
725157bd21 renamed script.js to simple-note.js 2024-02-07 02:31:19 +07:00
westtle
a6f47c3c63 added clear note functionality 2024-02-07 02:25:56 +07:00
westtle
3e9e2692f9 added download note functionality 2024-02-07 02:08:51 +07:00