From 4a322d3faa8b64dcca93849a5f7ebe7970ddd43e Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Tue, 17 Dec 2019 14:27:17 +0200 Subject: Info WIP --- src/Geshem.css | 17 +++++++++++++++-- src/Info.js | 44 ++++++++++++++++++++++++++++++++++---------- 2 files changed, 49 insertions(+), 12 deletions(-) diff --git a/src/Geshem.css b/src/Geshem.css index 87b22cf..3a0de94 100644 --- a/src/Geshem.css +++ b/src/Geshem.css @@ -25,10 +25,18 @@ position: fixed; top: 50%; left: 50%; - /* bring your own prefixes */ transform: translate(-50%, -50%); - padding: 30px; + padding: 15px 30px; background: #777; + max-height: 40vh; + overflow-y: scroll; +} + +@media only screen and (max-device-width: 812px) { + #info-modal { + padding: 0px 12px; + width: 70vw; + } } #info-eng { @@ -63,3 +71,8 @@ margin-left: 8vw; } } + +a, +a:visited { + color: #79b0d4; +} diff --git a/src/Info.js b/src/Info.js index dac9244..79b37e1 100644 --- a/src/Info.js +++ b/src/Info.js @@ -15,21 +15,45 @@ function Info(props) {
-

Geshem.space shows real-time rain radar data in Israel.

-

The entire source code is open and available at

- - https://github.com/yuvadm/geshem.space - + + Geshem.space shows real-time rain radar data in Israel + +

+

+ Rain clouds show up as colored patches on the map, a warmer color + means stronger percipication +

+

+ Use the slider on the bottom to scroll through the animation of the + last hour and determine whether the clouds are coming your way +

+

+ Developed by Yuval Adam +

+

+ Source code available on{" "} + Github

-

גשם.ספייס מציג מידע בזמן אמת על ענני גשם בכל הארץ

-

קוד המקור של האתר פתוח וזמין לצפייה בכתובת

- - https://github.com/yuvadm/geshem.space - + גשם.ספייס מציג בזמן אמת ענני גשם בכל הארץ +

+

+ עננים מופיעים כגושים צבעוניים על גבי המפה, צבע חם יותר מסמל עננות + צפופה ולכן גשם חזק יותר +

+

+ השתמשו בסליידר בתחתית המסך כדי לגלול באנימציה של העננים בשעה האחרונה + על מנת להבין האם ענני הגשם בדרך אליכם +

+

+ פותח ע"י יובל אדם +

+

+ קוד המקור זמין ב + גיטהאב

-- cgit v1.3.1