Skip to content

Commit

Permalink
chore: update homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
jigglycrumb committed Feb 8, 2020
1 parent d7e51ce commit 8d4b95e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
19 changes: 11 additions & 8 deletions docs/assets/homepage.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
:root {
--page-width: 1020px;
}

body {
align-items: center;
color: #fcc71b;
display: flex;
flex-direction: column;
font-family: "coolvilleregular", monospace;
margin: 0 auto;
width: 1066px;
}

header {
Expand All @@ -30,7 +33,7 @@ nav a.active {
main {
height: 841px;
position: relative;
width: 1066px;
width: var(--page-width);
}

footer {
Expand Down Expand Up @@ -67,7 +70,7 @@ h2 {
section {
font-size: 1.5em;
margin-bottom: 2em;
width: 954px;
width: 920px;
}

section ul {
Expand Down Expand Up @@ -108,15 +111,15 @@ section.faq li span {

.ribbon-top-right {
top: 16px;
right: 46px;
right: 20px;
z-index: 1;
}

.preview {
left: 0;
position: absolute;
top: 0;
width: 1066px;
width: var(--page-width);
opacity: 0;
transition: opacity 500ms;
}
Expand All @@ -127,11 +130,11 @@ section.faq li span {

.preview-inner {
background-repeat: no-repeat;
background-position: 0 0;
background-position: -20px 0;
height: 841px;
margin: 0 auto;
position: relative;
width: 1066px;
width: var(--page-width);
}

.preview-inner.web {
Expand All @@ -150,7 +153,7 @@ section.faq li span {
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
height: 692px;
left: 56px;
left: 36px;
overflow: hidden;
position: absolute;
top: 70px;
Expand Down
20 changes: 10 additions & 10 deletions docs/web/bundle.js

Large diffs are not rendered by default.

0 comments on commit 8d4b95e

Please sign in to comment.