aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-02-03 20:46:53 -0500
committerJesús <heckyel@hyperbola.info>2019-02-03 20:46:53 -0500
commitabc39612bf7b8ef0bf2ef8bc6f773e9d175b9e6c (patch)
tree75854405adcb5de4342ecf017a550820f088eb9d
parenta5a3047d1778aa0b24772a6555985be7c86e637e (diff)
downloadcl-theme-abc39612bf7b8ef0bf2ef8bc6f773e9d175b9e6c.tar.lz
cl-theme-abc39612bf7b8ef0bf2ef8bc6f773e9d175b9e6c.tar.xz
cl-theme-abc39612bf7b8ef0bf2ef8bc6f773e9d175b9e6c.zip
fix mediaquires and responsive video
-rw-r--r--css/style.css21
1 files changed, 16 insertions, 5 deletions
diff --git a/css/style.css b/css/style.css
index da49138..8323d74 100644
--- a/css/style.css
+++ b/css/style.css
@@ -6,6 +6,10 @@ Author: jesús e.
/* basic formatting changes (mostly to cater for darker colours) */
+li {
+ color: white;
+}
+
pre {
background: black;
color: white;
@@ -15,8 +19,9 @@ strong {
color: white;
}
-li {
- color: white;
+video {
+ width: 100%;
+ height: auto;
}
.content blockquote {
@@ -265,7 +270,13 @@ a.navbar-item:hover {
}
@media screen and (max-width: 1087px) {
- .navbar-menu {
- background-color: transparent;
- }
+ .navbar-menu {
+ background-color: transparent;
+ }
+}
+
+@media screen and (max-width: 480px) {
+ .main-content {
+ padding: 0rem;
+ }
}