diff --git a/static/css/main.css b/static/css/main.css index 682f97b..d46582e 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -16,20 +16,21 @@ body { body .jumbotron h1 { font-size: 72px; line-height: 1; } - body .navlist a:hover { - text-decoration: none; } - body .navlist ul { - background-color: rgba(0, 0, 0, 0.4); - list-style: none; - margin: 0 auto; - max-width: 536px; - padding: 20px; } - body .navlist ul li { - padding: 10px; - display: inline; } - body .navlist ul .short { - padding-right: 10px; - padding-left: 5px; } + body .center { + text-align: center; } + body .navlist { + display: inline-block; } + body .navlist a:hover { + text-decoration: none; } + body .navlist ul { + padding: 0 20px 0 20px; + margin: auto; + background-color: rgba(0, 0, 0, 0.4); + list-style: none; } + body .navlist ul li { + display: inline; } + body .navlist ul li img { + padding: 20px 10px 20px 10px; } body .flask { position: fixed; top: 5px; @@ -37,7 +38,10 @@ body { opacity: 0.3; } @media all and (max-width: 699px) { - body ul li { - margin: auto; } - body ul li img { - width: 50px; } } + body { + padding-top: 10%; } + body .navlist ul li img { + width: 20%; + padding: 4% 2% 4% 2%; } + body .flask { + display: none; } } diff --git a/static/css/main.scss b/static/css/main.scss index d44d63e..d573756 100644 --- a/static/css/main.scss +++ b/static/css/main.scss @@ -15,31 +15,34 @@ body { /* Main marketing message and sign up button */ .jumbotron { - margin: 60px 0; - text-align: center; - h1 { - font-size: 72px; - line-height: 1; - } + margin: 60px 0; + text-align: center; + h1 { + font-size: 72px; + line-height: 1; + } + } + + .center { + text-align: center; } .navlist { + // width: 90%; + display: inline-block; a:hover { text-decoration: none; } ul { + padding: 0 20px 0 20px; + margin: auto; background-color: rgba(0, 0, 0, 0.4); list-style: none; - margin: 0 auto; - max-width: 536px; - padding: 20px; li { - padding: 10px; display:inline; - } - .short { - padding-right: 10px; - padding-left: 5px; + img { + padding: 20px 10px 20px 10px; + } } } } @@ -53,15 +56,20 @@ body { } @media all and (max-width: 699px) { - body { - ul { - - li { - margin: auto; - img { - width: 50px; + body { + padding-top: 10%; + .navlist { + ul { + li { + img { + width: 20%; + padding: 4% 2% 4% 2%; + } } } } - } + .flask { + display: none; + } + } } \ No newline at end of file diff --git a/templates/main.html b/templates/main.html index 0d345d5..c9d0c74 100644 --- a/templates/main.html +++ b/templates/main.html @@ -43,36 +43,38 @@

Rodrigo Deodoro


+ +
+ + + +
- -