From d81bc993b8e4acc63af8cf0030d391c4befd77fb Mon Sep 17 00:00:00 2001 From: LawnCable Date: Thu, 24 May 2018 16:17:50 -0400 Subject: added basic support to have the latest news entry on the info page --- assets/fonts/SourceSansPro-Light.otf | Bin 0 -> 226032 bytes assets/index.css | 34 +++++++++++++++++++++++++++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 assets/fonts/SourceSansPro-Light.otf (limited to 'assets') diff --git a/assets/fonts/SourceSansPro-Light.otf b/assets/fonts/SourceSansPro-Light.otf new file mode 100644 index 0000000..159979f Binary files /dev/null and b/assets/fonts/SourceSansPro-Light.otf differ diff --git a/assets/index.css b/assets/index.css index 4f2b87e..446b1b5 100644 --- a/assets/index.css +++ b/assets/index.css @@ -2,6 +2,10 @@ font-family: SourceSansPro; src: url("./fonts/SourceSansPro-Regular.otf") format("opentype"); } +@font-face { + font-family: SourceSansProLight; + src: url("./fonts/SourceSansPro-Light.otf") format("opentype"); +} html, body { @@ -216,7 +220,14 @@ html, body { pointer-events: none; filter: grayscale(30%) blur(1pt); } - +#contentBackground > div { +position: absolute; +top: 0; +min-width: 100%; +min-height: 100%; +background: radial-gradient(farthest-corner at 100% 0%, rgba(256, 255, 255, 0) 50%, rgb(0, 0, 0)); +z-index: 2; +} #serverPage{ position: absolute; z-index: 4; @@ -247,8 +258,29 @@ html, body { /*outline: 1pt red dotted;*/ background: rgba(0, 0, 0, 0.6); width: fit-content; + margin-bottom: 7pt; + padding: 3pt 3pt; +} + +.infoServerPage > .news { + background: rgba(0, 0, 0, 0.6); + width: fit-content; + cursor: default; + padding: 5pt 5pt; + font-family: SourceSansProLight; } +.infoServerPage > .news > a, + .infoServerPage > .news > p > a { + color:inherit; + text-decoration: none; + cursor: pointer; +} + +.infoServerPage > .news > a:hover, + .infoServerPage > .news > p > a:hover { + text-decoration: underline; +} .unknownServerPage { background: rgba(0, 0, 0, 0.6); -- cgit v1.2.3-70-g09d2