Skip to content

Commit 83f558d

Browse files
committed
Added Features panel skeleton
1 parent 83b7b0c commit 83f558d

2 files changed

Lines changed: 24 additions & 2 deletions

File tree

index_build.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1 data-magellan-destination="top" class="logotext text-center">cpp<span class=
2525
<img data-anchor-target="#intro" data--700-top="opacity:0;" data-top-bottom="opacity:1;" src="img/logo.svg" />
2626
</a></dd>
2727
<dd data-magellan-arrival="what"><a href="#what">What is it?</a></dd>
28-
<dd data-magellan-arrival="ok"><a href="#ok">Features</a></dd>
28+
<dd data-magellan-arrival="features"><a href="#features">Features</a></dd>
2929
<dd><a href="docs/">Docs</a></dd>
3030
</dl>
3131
</div>
@@ -57,7 +57,10 @@ <h1 data-magellan-destination="what">What is it?</h1>
5757
</div>
5858

5959

60-
60+
<div id="features" class="slide" data-bottom-top="background-color:rgb(20,150,20);" data-top-bottom="background-color:rgb(150,150,150);">
61+
<a name="features"></a>
62+
<div id="img-eclipse" class="bgimg" data-anchor-target="#features" data-top="opacity:0;" data--600-top="opacity:0.2;"></div>
63+
</div>
6164

6265

6366
<div class="row">

scss/app.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@
4848
background-attachment: fixed;
4949
background-repeat: repeat;
5050
}
51+
.bgimg {
52+
position: absolute;
53+
background-attachment: fixed;
54+
top: 0;
55+
left: 0;
56+
height: 100%;
57+
width: 100%;
58+
}
5159

5260

5361
#intro{
@@ -75,6 +83,17 @@
7583
}
7684
#whatisit .scrollmsg{ color: #66a; }
7785

86+
87+
#features {
88+
background-color: #aaf;
89+
background-image: url(../img/question-1.png);
90+
background-size: 40%;
91+
}
92+
#img-eclipse {
93+
background-image: url(../img/eclipse.png);
94+
}
95+
96+
7897
#outro {
7998
background: #aaf;
8099
}

0 commit comments

Comments
 (0)