diff --git a/resources/base.css b/resources/base.css index 87fe174..84028c8 100644 --- a/resources/base.css +++ b/resources/base.css @@ -33,6 +33,7 @@ body{ width: 100%; height: 100%; margin: 0px; + /* font: normal 14px Summer Pixel 22, "res/SummerPixel22Regular.ttf"; */ -webkit-touch-callout: none; /* iOS Safari */ -webkit-user-select: none; /* Safari */ diff --git a/resources/sys/blog-viewer/blog-viewer.css b/resources/sys/blog-viewer/blog-viewer.css index bc2a899..8bbf70c 100644 --- a/resources/sys/blog-viewer/blog-viewer.css +++ b/resources/sys/blog-viewer/blog-viewer.css @@ -3,23 +3,37 @@ width: 100%; height: 100%; - overflow: scroll; - /* Auto layout */ display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; - gap: 50px; - row-gap: 20px; + /* gap: 50px; */ + /* row-gap: 20px; */ + padding: 0px 20px 0px 20px; } -.blog-viewer .header{ - font-size: x-large; - padding: 15px; +.blog-viewer .header-h1{ + font-size:x-large; + padding: 10px; +} + +.blog-viewer .header-h2{ + font-size:large; + padding: 6px; +} + +.blog-viewer .header-h3{ + font-size:larger; + padding: 2px; } .blog-viewer .plain-text{ - padding: 0px 20px 0px 20px; - + /* Auto layout */ + display: flex; + flex-direction: column; + align-items: flex-start; + justify-content: flex-start; + gap: 5px; + /* row-gap: 20px; */ } \ No newline at end of file diff --git a/resources/sys/personal-properties/personal-properies.css b/resources/sys/personal-properties/personal-properies.css index eb8cd93..8f6174a 100644 --- a/resources/sys/personal-properties/personal-properies.css +++ b/resources/sys/personal-properties/personal-properies.css @@ -1,23 +1,27 @@ -.ScrollContent { +/* TODO Move this to body? */ +/*.ScrollContent { width: 100%; height: 100%; overflow: scroll; overflow-x: hidden; - scrollbar-width: none; /* Firefox */ - -ms-overflow-style: none; /* Internet Explorer 10+ */ + /* Firefox */ + /* scrollbar-width: none; */ + /* Internet Explorer 10+ */ + /* -ms-overflow-style: none; */ /* Auto layout */ - display: flex; + /*display: flex; flex-direction: row; justify-content: center; align-items: flex-start; padding: 0px; -} +}*/ -.ScrollContent::-webkit-scrollbar { /* WebKit */ +/* WebKit */ +/* .ScrollContent::-webkit-scrollbar { width: 0; height: 0; -} +} */ .PropertiesList{ /* width: 100%; diff --git a/resources/wdeUI.css b/resources/wdeUI.css index 3970f0b..f47219e 100644 --- a/resources/wdeUI.css +++ b/resources/wdeUI.css @@ -327,4 +327,25 @@ .FileTileTitle{ white-space: nowrap; -} \ No newline at end of file +} + +.ScrollContent { + width: 100%; + height: 100%; + overflow: scroll; + overflow-x: hidden; + scrollbar-width: none; /* Firefox */ + -ms-overflow-style: none; /* Internet Explorer 10+ */ + + /* Auto layout */ + display: flex; + flex-direction: row; + justify-content: center; + align-items: flex-start; + padding: 0px; +} + +.ScrollContent::-webkit-scrollbar { /* WebKit */ + width: 0; + height: 0; +} diff --git a/templates/blog-viewer/app.tmpl b/templates/blog-viewer/app.tmpl index 77cd13f..7c0e244 100644 --- a/templates/blog-viewer/app.tmpl +++ b/templates/blog-viewer/app.tmpl @@ -8,11 +8,11 @@
-
+
{{ range $block := .blocks }} -
+
{{ range $data := $block.Data }} -
+
{{$data}}
{{ end }}