summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorLawnCable <lawncable.tmw2@simonlaux.de>2018-05-24 16:17:50 -0400
committerLawnCable <lawncable.tmw2@simonlaux.de>2018-05-24 16:17:50 -0400
commitd81bc993b8e4acc63af8cf0030d391c4befd77fb (patch)
treee9409a520759f55dd7373481b16df34a44a17505 /assets
parente48328aac858537871c29953d9f4f2316e0c39dd (diff)
downloadelectron-d81bc993b8e4acc63af8cf0030d391c4befd77fb.tar.gz
electron-d81bc993b8e4acc63af8cf0030d391c4befd77fb.tar.bz2
electron-d81bc993b8e4acc63af8cf0030d391c4befd77fb.tar.xz
electron-d81bc993b8e4acc63af8cf0030d391c4befd77fb.zip
added basic support to have the latest news entry on the info page
Diffstat (limited to 'assets')
-rw-r--r--assets/fonts/SourceSansPro-Light.otfbin0 -> 226032 bytes
-rw-r--r--assets/index.css34
2 files changed, 33 insertions, 1 deletions
diff --git a/assets/fonts/SourceSansPro-Light.otf b/assets/fonts/SourceSansPro-Light.otf
new file mode 100644
index 0000000..159979f
--- /dev/null
+++ b/assets/fonts/SourceSansPro-Light.otf
Binary files 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);