aboutsummaryrefslogtreecommitdiffstats
path: root/src/less/base.less
diff options
context:
space:
mode:
Diffstat (limited to 'src/less/base.less')
-rw-r--r--src/less/base.less33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/less/base.less b/src/less/base.less
new file mode 100644
index 00000000..5ff866b6
--- /dev/null
+++ b/src/less/base.less
@@ -0,0 +1,33 @@
+// ==========================================================================
+// Base
+// ==========================================================================
+
+.plyr {
+ position: relative;
+ max-width: 100%;
+ min-width: 200px;
+ font-family: Avenir, "Avenir Next", "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;
+
+ // border-box everything
+ // http://paulirish.com/2012/box-sizing-border-box-ftw/
+ &,
+ *,
+ *::after,
+ *::before {
+ box-sizing: border-box;
+ }
+
+ // Fix 300ms delay
+ a, button, input, label {
+ touch-action: manipulation;
+ }
+
+ // Media elements
+ video,
+ audio {
+ width: 100%;
+ height: auto;
+ vertical-align: middle;
+ border-radius: inherit;
+ }
+} \ No newline at end of file