pico/scss/content/_miscs.scss

35 lines
728 B
SCSS
Raw Normal View History

2022-10-22 11:44:10 +07:00
@use "../settings";
2019-11-27 15:31:49 +07:00
/**
* Miscs
*/
// Reboot based on :
// - normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
2022-03-06 10:53:20 +07:00
// - sanitize.css v13.0.0 | CC0 1.0 Universal | github.com/csstools/sanitize.css
2019-11-27 15:31:49 +07:00
//
2022-03-06 10:53:20 +07:00
// 1. Correct the inheritance of border color in Firefox
// 2. Add the correct box sizing in Firefox
2019-11-27 15:31:49 +07:00
hr {
2022-03-06 10:53:20 +07:00
height: 0; // 2
border: 0;
2021-07-02 16:54:41 +07:00
border-top: 1px solid var(--muted-border-color);
2022-03-06 10:53:20 +07:00
color: inherit; // 1
2019-11-27 15:31:49 +07:00
}
// Add the correct display in IE 10+
2019-11-27 15:31:49 +07:00
[hidden],
template {
2022-10-22 11:44:10 +07:00
@if settings.$enable-important {
2021-10-23 12:35:15 +07:00
display: none !important;
2022-10-15 23:22:12 +07:00
} @else {
2021-10-23 12:35:15 +07:00
display: none;
}
2019-11-27 15:31:49 +07:00
}
// Add the correct display in IE 9-
canvas {
display: inline-block;
2022-10-15 23:22:12 +07:00
}