FEATURE: optimize UI, increase margins

This commit is contained in:
FarseaSH 2022-04-09 19:01:23 +08:00
parent 13cbb35ba8
commit 76befe936a
3 changed files with 12 additions and 5 deletions

View file

@ -28,10 +28,13 @@ body{
margin: auto; margin: auto;
} }
.moment-content { .moment-content{
position: relative; position: relative;
} }
.moment-row{
margin-bottom: 20px;
}
@media (min-width:1150px) { @media (min-width:1150px) {
.page{ .page{
@ -71,7 +74,7 @@ p{
} }
.signature{ .signature{
color: rgb(0, 0, 0, 0.5); color: rgba(0, 0, 0, 0.5);
font-size: 20px; font-size: 20px;
font-weight: 300; font-weight: 300;
} }
@ -258,7 +261,7 @@ p{
.note{ .note{
font-size: 80%; font-size: 80%;
text-indent: 20px; text-indent: 20px;
color: rgb(0, 0, 0, 0.5); color: rgba(0, 0, 0, 0.5);
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
@ -267,9 +270,12 @@ p{
// hr // hr
hr { hr {
margin-top: 20px;
border-width: 0; border-width: 0;
border-top: 1px solid; border-top: 1px solid;
border-color: rgb(0, 0, 0, 0.1); border-color: rgba(0, 0, 0, 0.1);
max-width: 75%;
clear: both
} }
/* END - for the main content */ /* END - for the main content */

View file

@ -32,6 +32,7 @@
<!-- the Moments style css file --> <!-- the Moments style css file -->
{{ $style := resources.Get "style-refractored.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} {{ $style := resources.Get "style-refractored.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<!-- fancybox css (js in the end before the body closing tag) --> <!-- fancybox css (js in the end before the body closing tag) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css"/> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.css"/>

View file

@ -113,7 +113,7 @@
<div style="padding-right: 12px;"><i class="far fa-heart"></i></div> <div style="padding-right: 12px;"><i class="far fa-heart"></i></div>
</div> </div>
</div> </div>
<hr style="clear: both"> <hr class="seperating_line">
</div> </div>
</div> </div>
</div> </div>