Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/app/assets
diff options
context:
space:
mode:
authorLeitwolf2026-11-16 14:49:23 +0300
committerGitHub2026-11-16 14:49:23 +0300
commit324048967d1fb198e3489b1722ca1ff317338550 (patch)
treee270ad6dc86200cc79cbdccfa1ef6de1da8aff0d /app/assets
parent45c1bb14326cbee8fe57c6f639550e8eadd81f0a (diff)
parent4ee77681379619b3fab7b8b33446a67164216cc8 (diff)
downloadtazel.net-main.tar.gz
Merge pull request #10 from Progmasoft/content/new-tazelHEADmain
Rewrite the site for the Tazel of C, C++, Objective-C, Objective-C++ and Zig
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/site.css10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/site.css b/app/assets/site.css
index 2ae7ae3..9594370 100644
--- a/app/assets/site.css
+++ b/app/assets/site.css
@@ -239,7 +239,7 @@ pre {
line-height: 1.65;
}
-@media (max-width: 720px) {
+@media (width <= 720px) {
.section {
padding-block: 60px;
}
@@ -324,6 +324,14 @@ pre {
white-space: normal;
}
+/* On a phone a path can be wider than the column: there code breaks where it must. */
+@media (width <= 600px) {
+ .prose :not(pre) > code {
+ white-space: normal;
+ overflow-wrap: anywhere;
+ }
+}
+
.prose pre code {
white-space: pre;
}