aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets/content/_miscs.scss
diff options
context:
space:
mode:
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;
+}