_sass/home.scss in simport-1.5.0 vs _sass/home.scss in simport-1.6.0
- old
+ new
@@ -1,9 +1,24 @@
+#home-wrapper {
+ height: 100%;
+ padding: 10px;
+}
+
+@media only screen and (min-width: 600px) {
+ #home-wrapper {
+ padding: 0px;
+ display: grid;
+ grid-template-rows: 3fr 9fr;
+ grid-template-areas:
+ "space-top"
+ "home";
+ }
+}
+
#home {
- margin: auto;
+ grid-area: home;
max-width: 500px;
- margin-top: 200px;
- padding: 0 25px;
+ justify-self: center;
}
#home p {
font-size: 1.2em;
line-height: 30px;