Skip to content

Commit

Permalink
Made page a lot more mobile friendly.
Browse files Browse the repository at this point in the history
  • Loading branch information
bezi committed Dec 15, 2014
1 parent 9f1c8b8 commit b4bf541
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
30 changes: 21 additions & 9 deletions assets/css/main.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* =============================================================================
HTML5 CSS Reset Minified - Eric Meyer
========================================================================== */
HTML5 CSS Reset Minified - Eric Meyer
========================================================================== */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
Expand Down Expand Up @@ -34,11 +34,11 @@ html,body {
h1 {
text-transform: uppercase;
font-family: Roboto Slab, serif;
font-size: 3em;
font-size: 3rem;
}

hr {
margin: 3em auto;
margin: 3rem auto;
width: 50%;
}

Expand All @@ -60,24 +60,36 @@ hr {
background: #bd2c39;
}

#splash-info > h1 {
display: inline-block;
margin: 0.5rem 0;
font-size: 2rem;
}

@media (min-width: 400px) {
#splash-info > h1 {
font-size: 3rem;
}
}

#splash-bg {
width: 100%;
height: 100%;
}

/* remove canvas default margin */
canvas{
display:block;
vertical-align:bottom;
display:block;
vertical-align:bottom;
}

.logo {
padding: 2em 0;
margin: 2rem 0;
width: 100%;
}

@media (min-width: 500px) {
@media (min-width: 400px) {
.logo {
width: 500px;
width: 400px;
}
}
2 changes: 1 addition & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ particlesJS('splash-bg', {
opacity: 1,
size: 2,
size_random: false,
nb: 350,
nb: screen.width / 5,
line_linked: {
enable_auto: true,
distance: 100,
Expand Down

0 comments on commit b4bf541

Please sign in to comment.