aboutsummaryrefslogtreecommitdiff
path: root/www/themes
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-10-15 20:15:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-10-15 20:15:29 -0300
commit0d0a2e3382e804ba9d69dd27fe70c41659ef0c05 (patch)
treea501e9315d9191395c0cc77699b2688b7875fc23 /www/themes
parent21650e310ef4064d436ffc8364e9c6ad2c7629fc (diff)
downloadsemanticscuttle-0d0a2e3382e804ba9d69dd27fe70c41659ef0c05.tar.gz
semanticscuttle-0d0a2e3382e804ba9d69dd27fe70c41659ef0c05.tar.bz2
Themes: mono: mobile first behavior
Diffstat (limited to 'www/themes')
-rw-r--r--www/themes/mono/scuttle.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/www/themes/mono/scuttle.css b/www/themes/mono/scuttle.css
index 02f261f..7f2e50e 100644
--- a/www/themes/mono/scuttle.css
+++ b/www/themes/mono/scuttle.css
@@ -671,3 +671,33 @@ a.bookmarklet {
.ui-autocomplete {
width: 458px;
}
+
+/* Mobile First behavior */
+
+#search, #sidebar {
+ visibility: hidden;
+ display: none;
+}
+
+ol#bookmarks {
+ width: 95%;
+}
+
+#welcome {
+ width: 80%;
+}
+
+@media only screen and (min-width : 800px) {
+ #search, #sidebar {
+ visibility: inherit;
+ display: inherit;
+ }
+
+ ol#bookmarks {
+ width: inherit;
+ }
+
+ #welcome {
+ width: inherit;
+ }
+}