diff --git a/content/community/_index.md b/content/community/_index.md index 4e5de0c..b5327d0 100644 --- a/content/community/_index.md +++ b/content/community/_index.md @@ -26,6 +26,7 @@ We're a 100% open-source and community-driven project that builds the critical i

+ {% row(style="center narrow") %} @@ -91,12 +92,42 @@ Join the growing community of ThreeFold’s most passionate supporters. Bring yo Check out the FAQs or ask a question on the ThreeFold Forum. - - - + + + {% end %} +
+
+ + + +
+ +
+ + + diff --git a/css/index.css b/css/index.css index a12b413..0954bf7 100644 --- a/css/index.css +++ b/css/index.css @@ -173,4 +173,121 @@ header { transition: all 0.2s ease; -webkit-filter: grayscale(0%); filter: grayscale(0%); +} + + +.banner { + width: 100%; + margin: 0; + padding: 120px 0; + text-align: center; + position: relative; + display: block; + color: #fff !important; + letter-spacing: 0.5px; + overflow: hidden; + background: #00838d; + transition: 1.5s; +} + +.header { + height: auto; + background: none; + padding: 200px 0; +} + +.banner h2, +.header h1 { + margin: auto; + color: #fff; + position: relative; + transition: 0.3s; + z-index: 1; + white-space: nowrap; +} + +.header h1 { + color: #000; + transition: none; +} + +.banner h2 svg { + font-size: 40px; + margin-left: 15px; + position: absolute; + top: 55%; + transform: translateY(-50%) scale(0.5); + opacity: 0; + transition: 0.3s; +} + +.banner .back { + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + background-position: center; + background-size: cover; + filter: grayscale(1) contrast(1.4); + opacity: 0.25; + transition: 1.5s; +} + +.header .back { + filter: none; + opacity: 1; + background-position: center; + + background-size: cover; + background-repeat: no-repeat; +} + +.banner:hover { + background: #4b3a92; +} + +.header:hover { + background: none; +} + +.banner:hover h2 svg { + transform: translateY(-50%) scale(1); + opacity: 1; +} + +.banner:hover h2 { + padding-right: 40px; +} + +.header:hover h1 { + padding-right: 0; +} + +.banner:hover .back { + transform: scale(1.03); +} + +.header:hover .back { + transform: none; +} +@media (max-width: 640px) { + .banner h2 { + font: 600 7vw/10vw; + } + + .header h1 { + font-size: 35px; + } + + .banner h2 svg { + font-size: 30px; + } +} + +@media (max-width: 480px) { + .banner, + .header { + padding: 80px 0; + } } \ No newline at end of file diff --git a/static/images/forum.png b/static/images/forum.png new file mode 100644 index 0000000..f457582 Binary files /dev/null and b/static/images/forum.png differ diff --git a/static/images/tf_people.jpg b/static/images/tf_people.jpg new file mode 100644 index 0000000..8d8f293 Binary files /dev/null and b/static/images/tf_people.jpg differ