aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/static/css/import/_responsive.scss
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2024-11-21 20:59:05 +0100
committerThomas Lange <code@nerdmind.de>2024-11-21 21:27:03 +0100
commit5ccca11a448ea315a6e64453e630694ba2c20e66 (patch)
treed29b46acc6ade8c3d94e272695122e7d1c611bf6 /theme/admin/static/css/import/_responsive.scss
parent52cb2b8aef3ba86e4abe551a3df9831d347e948e (diff)
downloadblog-5ccca11a448ea315a6e64453e630694ba2c20e66.tar.gz
blog-5ccca11a448ea315a6e64453e630694ba2c20e66.tar.xz
blog-5ccca11a448ea315a6e64453e630694ba2c20e66.zip
Rename "rsrc" directories to "static"
Stop using "rsrc" as name for the directories which contain static files and rename them to "static". This affects the global static directory and the static sub-directories in the theme directories. If you've stored your own files in the old global "rsrc" directory, you must move them to the new "static" directory.
Diffstat (limited to 'theme/admin/static/css/import/_responsive.scss')
-rw-r--r--theme/admin/static/css/import/_responsive.scss92
1 files changed, 92 insertions, 0 deletions
diff --git a/theme/admin/static/css/import/_responsive.scss b/theme/admin/static/css/import/_responsive.scss
new file mode 100644
index 0000000..9675071
--- /dev/null
+++ b/theme/admin/static/css/import/_responsive.scss
@@ -0,0 +1,92 @@
+@media only screen and (max-width: 90em /*1440px*/) {
+ .item-container.grid {
+ grid-template-columns: 1fr 1fr;
+ }
+}
+
+@media only screen and (min-width: 62.5em /*1000px*/) {
+ #main-content {
+ border: 0.05rem solid $borderColor;
+ border-top: none;
+ border-bottom: none;
+ }
+}
+
+@media only screen and (max-width: 62.5em /*1000px*/) {
+ .item-container.grid {
+ grid-template-columns: 1fr;
+ }
+}
+
+@media only screen and (max-width: 50em /*800px*/) {
+ html {
+ font-size: 1.125rem; /*18px*/
+ }
+}
+
+@media only screen and (max-width: 37.5em /*600px*/) {
+ #main-content {
+ padding: 0.5rem;
+ }
+
+ #main-navi {
+ font-size: 1rem;
+
+ ul {
+ li {
+ span {
+ display: none;
+ }
+
+ .fa {
+ margin-right: 0;
+ }
+ }
+ }
+
+ a {
+ padding: 0.5rem;
+ }
+ }
+
+ #emoticon-list-wrapper {
+ display: none;
+ }
+
+ .item-container.grid {
+ grid-column-gap: 0.75rem;
+ grid-row-gap: 0.75rem;
+ column-gap: 0.75rem;
+ row-gap: 0.75rem;
+ }
+
+ .form-grid {
+ grid-template-columns: 7rem 1fr;
+
+ &-item, &-item.first, label {
+ grid-column: unset;
+ }
+ }
+
+ .actions {
+ float: none;
+ display: flex;
+ width: 100%;
+ flex-grow: 1;
+ justify-content: center;
+ overflow: hidden;
+ box-sizing: border-box;
+
+ &-before {
+ float: none;
+ }
+
+ li {
+ flex-grow: 1;
+
+ + li {
+ border-left: none;
+ }
+ }
+ }
+}