From 0628dd1593adc0b42c462771037ed9390c6bc758 Mon Sep 17 00:00:00 2001 From: bobmaster Date: Wed, 23 Nov 2022 21:02:26 +0800 Subject: [PATCH] :wrench: remove announcement border space on small device --- theme/css/mdui-custom.css | 51 ++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 30 deletions(-) diff --git a/theme/css/mdui-custom.css b/theme/css/mdui-custom.css index af0230a..802c555 100644 --- a/theme/css/mdui-custom.css +++ b/theme/css/mdui-custom.css @@ -20,8 +20,7 @@ font-family: 'ZCOOL KuaiLe', cursive; margin: 10px 0; padding: 15px 15px 15px 35px; border: 1px solid #eac946; - background: #fff4b9 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAAHpk4xqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAG9QTFRF6slG/9gA/9kG/9kJ/9oP/9sS/9wX/94k/94l/94q/98r/98s/+6O/+6P/+6Q/++U/++V/++Y//Ov//Ow//W7//W8//XA//jU//nW//nX//nY//nb//rc//3z//30//74//75//76///8///9////6hgjbAAAANFJREFUKM+lUIsOgjAMpGOgvMEXzhc4+v/faGkHGSqJiU3G7XrlelkQcCGC+wAAdyCHADaZcOAiRI0982fm5oJZhRpHB0ABKwBlO2qTgVfMKpoaQsforukUMzvRaYWp0RaPX1wW9bFgydRAJs3E6J4jVsIKt11Yv2DGZRGW0W2LaJ3LgZOpaV96eZQr2/3QsFK/SUluuu6cJ++SkjDyVsqXUsvNKGKwqScZmdda0HhSL604Frx7UiGt602w9GPU3NrtGepleFUN8sfQhH++xmq9AFOvGu1uyrj9AAAAAElFTkSuQmCC) -1px -1px no-repeat; - color: #ad9948 + background: #fff4b9 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAAHpk4xqAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAG9QTFRF6slG/9gA/9kG/9kJ/9oP/9sS/9wX/94k/94l/94q/98r/98s/+6O/+6P/+6Q/++U/++V/++Y//Ov//Ow//W7//W8//XA//jU//nW//nX//nY//nb//rc//3z//30//74//75//76///8///9////6hgjbAAAANFJREFUKM+lUIsOgjAMpGOgvMEXzhc4+v/faGkHGSqJiU3G7XrlelkQcCGC+wAAdyCHADaZcOAiRI0982fm5oJZhRpHB0ABKwBlO2qTgVfMKpoaQsforukUMzvRaYWp0RaPX1wW9bFgydRAJs3E6J4jVsIKt11Yv2DGZRGW0W2LaJ3LgZOpaV96eZQr2/3QsFK/SUluuu6cJ++SkjDyVsqXUsvNKGKwqScZmdda0HhSL604Frx7UiGt602w9GPU3NrtGepleFUN8sfQhH++xmq9AFOvGu1uyrj9AAAAAElFTkSuQmCC) -1px -1px no-repeat; color: #ad9948 } .sc_error { @@ -108,7 +107,7 @@ font-family: 'ZCOOL KuaiLe', cursive; -moz-box-shadow:0 2px 10px 1px rgba(0,0,0,.2); -webkit-box-shadow:0 2px 10px 1px rgba(0,0,0,.2); text-shadow:0 1px 0 #f6ef97; - position:relative; + position:unset; top:0; left:0; z-index:2; @@ -120,35 +119,10 @@ font-family: 'ZCOOL KuaiLe', cursive; .ipage p { position:relative; line-height:2.2rem!important; -text-indent:2em; -font-family:'Architects Daughter',cursive!important; +font-family:"LXGW WenKai"; font-size:1.45rem!important } -.ipage::before { -content:" "; -display:inline-block; -position:absolute; -top:0; -bottom:0; -right:52px; -z-index:4; -width:4px; -height:100%; -border-left:1px solid #fca1a1 -} -.ipage:after { -content:" "; -display:inline-block; -position:absolute; -top:0; -bottom:0; -left:52px; -z-index:3; -width:4px; -height:100%; -border-left:4px double #fca1a1 -} .ipage p { padding:0 2em; color:#333!important @@ -171,6 +145,12 @@ padding:0 .9em } } +@media (max-width: 600px) { +div #phpbb_announcement { + border-radius: 0px; +} +} + p.time { margin-bottom: 0; font-family: Verdana, Helvetica, Arial, sans-serif; @@ -307,6 +287,11 @@ dl.bg-y-15-percent { float: unset; } +article.mdui-typo a { + overflow: unset; + vertical-align: unset; +} + @media (max-width: 900px) { dl.row-item { background-position-y: 15%; @@ -367,6 +352,12 @@ dl.bg-y-15-percent { } } +@media (max-width: 700px) { +.wrap { + padding: 0px; +} +} + .image-gallery { /* Mobile first */ display: flex; @@ -424,4 +415,4 @@ dl.bg-y-15-percent { /* mdui-typo */ .mdui-typo code, .mdui-typo kbd, .mdui-typo pre, .mdui-typo pre tt, .mdui-typo samp { font-family: 'LXGW WenKai Screen',Consolas,Courier,'Courier New',monospace; -} +} \ No newline at end of file