diff --git a/static/css/style.css b/static/css/style.css index 29e6a68..3f21310 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -19,7 +19,8 @@ button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[ fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em} legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto} [type=checkbox],[type=radio]{padding:0} -html,body,div{overflow-x:hidden} +html,body{overflow-x:auto} +div{overflow-x:hidden} body,html{font-family:"Liberation Serif",serif;font-size:15px;line-height:1.5em;padding-top:32px;height:100%;} h1{font-size:36px}h2{font-size:30px}h3{font-size:24px}h4{font-size:20px}h5{font-size:18px}h6{font-size:16px} a,b,body,div,h1,h2,h3,h4,h5,h6,html,i,img,p,span {margin: 0;padding: 0;border: 0;line-height:1.5em} @@ -31,7 +32,7 @@ hr{border:0;border-top:1px solid #eee;margin:20px 0} .dc-table,.dc-table-all{border-collapse:collapse;border-spacing:0;width:100%;display:table}.dc-table-all{border:1px solid #ccc} .dc-round{border-radius:5px} .dc-page-container{width:80%;margin:auto} -div.gallery{margin:5px;border:1px solid #ccc;float:left;height:50vh;width:15vw;} +div.gallery{margin:5px;border:1px solid #ccc;float:left;height:195px;width:180px;overflow-x:hidden} div.gallery:hover{border:1px solid #777;} div.gallery img {width:100%;height:auto;} div.desc{padding:15px;text-align:center;} @@ -179,6 +180,7 @@ div.desc{padding:15px;text-align:center;} .dc-border-dark-grey,.dc-hover-border-dark-grey:hover,.dc-border-dark-gray,.dc-hover-border-dark-gray:hover{border-color:#616161!important} .dc-main-title{font-weight:700;font-size:70px!important;line-height:1.1em;text-align:center} .dc-subtitle{font-weight:500;font-size:40px!important;line-height:1.1em;text-align:center} +@media (max-width:600px){.dc-main-title{font-size:40px!important}.dc-subtitle{font-size:30px!important}} .dc-parallax {background-repeat: no-repeat;background-position: top;background-size: 100%;position: absolute;bottom: 0;left: 0;width: 100%;height: 100%;display: block} .dc-header {padding: 5vh 0;position: relative;background-position: 50%;background-size: cover} diff --git a/templates/base.html b/templates/base.html index 36de794..9e41989 100644 --- a/templates/base.html +++ b/templates/base.html @@ -11,7 +11,7 @@ -
+
{% include 'navbar.html' %} {% block content %} {% endblock content %}