Fix Credits page spacing and border color + Add cropped Globe
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
// Components
|
// Components
|
||||||
import Metas from '$components/Metas.svelte'
|
import Metas from '$components/Metas.svelte'
|
||||||
import SiteTitle from '$components/atoms/SiteTitle.svelte'
|
import SiteTitle from '$components/atoms/SiteTitle.svelte'
|
||||||
|
import InteractiveGlobe from '$components/organisms/InteractiveGlobe.svelte'
|
||||||
|
|
||||||
export let data: any
|
export let data: any
|
||||||
</script>
|
</script>
|
||||||
@@ -77,8 +78,9 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<InteractiveGlobe type="cropped" />
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,13 +4,12 @@
|
|||||||
|
|
||||||
// Intro Section
|
// Intro Section
|
||||||
&__heading {
|
&__heading {
|
||||||
overflow: hidden;
|
|
||||||
margin: 56px 0 72px;
|
margin: 56px 0 72px;
|
||||||
color: $color-tertiary;
|
color: $color-tertiary;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
margin: 160px 0 72px;
|
margin: 160px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Text
|
// Text
|
||||||
@@ -37,7 +36,7 @@
|
|||||||
|
|
||||||
&__category {
|
&__category {
|
||||||
display: block;
|
display: block;
|
||||||
border-top: 1px solid $color-tertiary;
|
border-top: 1px solid $color-lightpurple;
|
||||||
padding-top: 32px;
|
padding-top: 32px;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
@@ -82,6 +81,15 @@
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: color 0.2s;
|
transition: color 0.2s;
|
||||||
}
|
}
|
||||||
|
dt {
|
||||||
|
display: block;
|
||||||
|
line-height: 1;
|
||||||
|
margin-bottom: 12px;
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: $color-secondary;
|
||||||
|
}
|
||||||
|
}
|
||||||
h3 {
|
h3 {
|
||||||
font-size: rem(24px);
|
font-size: rem(24px);
|
||||||
font-family: $font-serif;
|
font-family: $font-serif;
|
||||||
@@ -90,15 +98,7 @@
|
|||||||
font-size: rem(28px);
|
font-size: rem(28px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dt {
|
|
||||||
line-height: 1;
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
color: $color-secondary;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
dd {
|
dd {
|
||||||
margin-top: 6px;
|
|
||||||
font-size: rem(14px);
|
font-size: rem(14px);
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
@@ -127,4 +127,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Globe
|
||||||
|
.globe {
|
||||||
|
* {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
canvas {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user