aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets/content/_miscs.scss
diff options
context:
space:
mode:
authorsadbeast <sadbeast@sadbeast.com>2024-01-31 17:47:56 -0800
committersadbeast <sadbeast@sadbeast.com>2024-01-31 17:47:56 -0800
commit332ec93366315fa1ed7b4acd7a3407c96e8ddfa7 (patch)
tree6ae553317f12a7a6a29c849c8805ffab96436dc2 /app/assets/stylesheets/content/_miscs.scss
downloadtd-main.tar.gz
td-main.tar.bz2
initial mistakeHEADmain
Diffstat (limited to 'app/assets/stylesheets/content/_miscs.scss')
-rw-r--r--app/assets/stylesheets/content/_miscs.scss33
1 files changed, 33 insertions, 0 deletions
diff --git a/app/assets/stylesheets/content/_miscs.scss b/app/assets/stylesheets/content/_miscs.scss
new file mode 100644
index 0000000..526baba
--- /dev/null
+++ b/app/assets/stylesheets/content/_miscs.scss
@@ -0,0 +1,33 @@
+/**
+ * Miscs
+ */
+
+// Reboot based on :
+// - normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
+// - sanitize.css v13.0.0 | CC0 1.0 Universal | github.com/csstools/sanitize.css
+// ––––––––––––––––––––
+
+// 1. Correct the inheritance of border color in Firefox
+// 2. Add the correct box sizing in Firefox
+hr {
+ height: 0; // 2
+ border: 0;
+ border-top: 1px solid var(--muted-border-color);
+ color: inherit; // 1
+}
+
+// Add the correct display in IE 10+
+[hidden],
+template {
+ @if $enable-important {
+ display: none !important;
+ }
+ @else {
+ display: none;
+ }
+}
+
+// Add the correct display in IE 9-
+canvas {
+ display: inline-block;
+}