Skip to content

Commit 3ac35ab

Browse files
committed
Add a link to docs, upd footer
1 parent 2fec163 commit 3ac35ab

File tree

2 files changed

+33
-15
lines changed

2 files changed

+33
-15
lines changed

css/main.css

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,24 +88,40 @@ header img.phone {
8888
width: 320px;
8989
}
9090

91-
header .social {
91+
header .links {
9292
position: absolute;
9393
right: 0;
9494
top: 60px;
95-
width: 150px;
95+
width: 350px;
9696
text-align: right;
97+
display:flex;
98+
flex-direction: row;
99+
flex-wrap: wrap;
100+
justify-content: flex-end;
101+
align-content: center;
102+
align-items: center;
103+
}
104+
105+
header .links a.link {
106+
display: inline-block;
107+
padding: 15px;
108+
color: white;
109+
text-decoration: none;
110+
font-size: 16px;
111+
display: inline-block;
112+
margin: 0 10px 10px 0;
97113
}
98114

99-
header .social .icon {
100-
margin: 5px;
101-
opacity: .2;
115+
header .links a {
116+
margin: 5px 12px 5px 5px;
117+
opacity: .7;
102118
}
103119

104-
header .social .icon:hover {
105-
opacity: .8;
120+
header .links a:hover {
121+
opacity: .5;
106122
}
107123

108-
header .social .icon img {
124+
header .links .icon img {
109125
width: 22px;
110126
filter: invert(100%);
111127
-webkit-filter: invert(100%);

index.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@
2222
<header class="site-header">
2323
<div class="wrapper">
2424
<div class="header-content">
25-
<img class="logo" alt="StatSim" src="images/logo.png"/>
26-
<h1>Statistical Simulation and Inference in the Browser</h1>
27-
<p><strong>StatSim</strong> is a free probabilistic simulation web app. Multiple simulation methods and over 20 built-in distributions make it possible to create complex models and implement Bayesian inference in the browser. Server-side processing coming soon... </p>
28-
<a href="/app" class="cta cta-web">Open web app</a> or
29-
<a href="https://github.com/statsim/app/releases" class="cta cta-download">Download</a>
25+
<img class="logo" alt="StatSim" src="images/logo.png"/>
26+
<h1>Statistical Simulation and Inference in the Browser</h1>
27+
<p><strong>StatSim</strong> is a free probabilistic simulation web app. Multiple simulation methods and over 20 built-in distributions make it possible to create complex models and implement Bayesian inference in the browser. Server-side processing coming soon... </p>
28+
<a href="/app" class="cta cta-web">Open web app</a> or
29+
<a href="https://github.com/statsim/app/releases" class="cta cta-download">Download</a>
3030
</div>
31-
<div class="social">
31+
<div class="links">
32+
<a href="/docs" class="link">Documentation</a>
3233
<a href="https://twitter.com/statsimcom" class="icon"><img src="images/twitter.svg"/></a>
3334
<a href="https://www.facebook.com/statsim" class="icon"><img src="images/facebook.svg"/></a>
3435
<a href="https://github.com/statsim" class="icon"><img src="images/github.svg"/></a>
@@ -119,14 +120,15 @@ <h2>Examples</h2>
119120
</section>
120121
<section class="footer">
121122
<div class="wrapper">
122-
<p>© 2018 StatSim. Statistical Simulation and Bayesian Inference in the Browser.</p>
123+
<p>© <span id="year"></span> StatSim. Statistical Simulation and Bayesian Inference in the Browser.</p>
123124
</div>
124125
</section>
125126
<script src="particles.min.js"></script>
126127
<script charset="utf-8">
127128
particlesJS.load('particles-js', 'particles-config.json', function() {
128129
console.log('callback - particles.js config loaded');
129130
})
131+
document.getElementById('year').innerText = (new Date()).getFullYear()
130132
</script>
131133
</body>
132134
</html>

0 commit comments

Comments
 (0)