diff options
author | Thomas Lange <code@nerdmind.de> | 2024-11-21 20:59:05 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2024-11-29 15:10:40 +0100 |
commit | ebc5cf9ac20b959c6d4a6a34643eb8657cf9db84 (patch) | |
tree | 6a17f88f2afd17f8afac6a0d744d6369e2a65cdb /theme/admin/static/css/import/_responsive.scss | |
parent | 52cb2b8aef3ba86e4abe551a3df9831d347e948e (diff) | |
download | blog-ebc5cf9ac20b959c6d4a6a34643eb8657cf9db84.tar.gz blog-ebc5cf9ac20b959c6d4a6a34643eb8657cf9db84.tar.xz blog-ebc5cf9ac20b959c6d4a6a34643eb8657cf9db84.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 subdirectories 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.scss | 92 |
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; + } + } + } +} |