2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 17:10:29 +01:00

Merge pull request #99 from offen/homepage-update

update svg css fade.js
This commit is contained in:
Hendrik Niefeld 2019-09-08 20:57:17 +02:00 committed by GitHub
commit c046e3de50
7 changed files with 22 additions and 586 deletions

View File

@ -244,7 +244,11 @@ h4 {
font-size: 22px; font-size: 22px;
} }
} }
@media only screen and (max-width: 330px) {
.spacer-intro {
width: 250px;
}
}
/* --------------------------------------------------- /* ---------------------------------------------------
LINKS LINKS
@ -265,11 +269,6 @@ ol li p a:hover,
ol li p a:focus { ol li p a:focus {
color: var(--grey-bright); color: var(--grey-bright);
} }
.footer a,
.footer a:hover,
.footer a:focus {
font-weight: 400;
}
/* --------------------------------------------------- /* ---------------------------------------------------
@ -406,7 +405,7 @@ BUTTONS
MENU MENU
----------------------------------------------------*/ ----------------------------------------------------*/
.nav-list { .nav-list {
margin: 0 0 40px 0; margin: 0 10px 40px 0;
} }
.nav-bar { .nav-bar {
height: 70px; height: 70px;
@ -440,9 +439,10 @@ nav ul li a:visited {
display: block; display: block;
padding: 0 20px; padding: 0 20px;
line-height: 70px; line-height: 70px;
text-decoration: none;
font-weight: 700;
background: var(--yellow-mid); background: var(--yellow-mid);
color: var(--black-mid); color: var(--black-mid);
text-decoration: none;
} }
nav ul li a:hover, nav ul li a:hover,
nav ul li a:visited:hover { nav ul li a:visited:hover {
@ -476,6 +476,9 @@ nav ul li ul li a {
} }
/* Mobile Styles */ /* Mobile Styles */
@media only screen and (max-width: 960px) { @media only screen and (max-width: 960px) {
.nav-list {
margin: 0 0 40px 0;
}
.nav-mobile { .nav-mobile {
display: block; display: block;
} }
@ -526,7 +529,7 @@ nav ul li ul li a {
cursor: pointer; cursor: pointer;
border-radius: 1px; border-radius: 1px;
height: 2px; height: 2px;
width: 35px; width: 25px;
background: var(--black-mid); background: var(--black-mid);
position: absolute; position: absolute;
display: block; display: block;
@ -536,10 +539,10 @@ nav ul li ul li a {
*/ */
} }
#nav-toggle span:before { #nav-toggle span:before {
top: -10px; top: -8px;
} }
#nav-toggle span:after { #nav-toggle span:after {
bottom: -10px; bottom: -8px;
} }
#nav-toggle.active span { #nav-toggle.active span {
background-color: transparent; background-color: transparent;

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 150 KiB

After

Width:  |  Height:  |  Size: 85 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 34 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 21 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -2,7 +2,9 @@
$(document).ready(function () { $(document).ready(function () {
$(window).scroll(function () { $(window).scroll(function () {
var scrollProgress = parseInt($(window).scrollTop(), 10) var scrollProgress = parseInt($(window).scrollTop(), 10)
$('body.index .brand').css('opacity', Math.min(scrollProgress / 100, 1)) if ($(window).width() > 960) {
$('body.index .brand').css('opacity', Math.min(scrollProgress / 100, 1))
}
}) })
}) })
})(window.jQuery) })(window.jQuery)

View File

@ -89,7 +89,7 @@
In the making In the making
</h2> </h2>
<p> <p>
This project is still in alpha. Discover what is already up and running and where we want to go in the coming months. <strong>offen</strong> is still in alpha. Discover what is already up and running and where we want to go in the coming months.
</p> </p>
<div class="btn-wrapper"> <div class="btn-wrapper">
<a class="btn btn-color-black" href="/status/">Project status</a> <a class="btn btn-color-black" href="/status/">Project status</a>