aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-nginx/sites/www/src/style.css
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-27 15:53:02 +0800
committercrupest <crupest@outlook.com>2022-11-27 15:53:02 +0800
commitc4e083863e8476ca70d8b895beea5a172fcb7ecd (patch)
tree3de0178b97b26904126056f1010a202fda7a4124 /docker/crupest-nginx/sites/www/src/style.css
parent79054b14574821a4ceb3c471a61080cb7808d171 (diff)
downloadcrupest-c4e083863e8476ca70d8b895beea5a172fcb7ecd.tar.gz
crupest-c4e083863e8476ca70d8b895beea5a172fcb7ecd.tar.bz2
crupest-c4e083863e8476ca70d8b895beea5a172fcb7ecd.zip
Enhance nginx config and www page.
Diffstat (limited to 'docker/crupest-nginx/sites/www/src/style.css')
-rw-r--r--docker/crupest-nginx/sites/www/src/style.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/docker/crupest-nginx/sites/www/src/style.css b/docker/crupest-nginx/sites/www/src/style.css
index 6021c6c..b632745 100644
--- a/docker/crupest-nginx/sites/www/src/style.css
+++ b/docker/crupest-nginx/sites/www/src/style.css
@@ -5,7 +5,13 @@ html {
body {
width: 100%;
margin: 0;
- padding: 0 2em;
+ box-sizing: border-box;
+}
+
+@media (min-width: 576px) {
+ #main-article {
+ padding: 0 2em;
+ }
}
#color-strip-container {