Skip to content

Commit f1b859d

Browse files
committed
Media queries for mobile
1 parent a240a5f commit f1b859d

File tree

6 files changed

+3886
-9717
lines changed

6 files changed

+3886
-9717
lines changed

components/landing-page/css/styles.css

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,28 @@ pre {
173173

174174
li {
175175
text-decoration: none;
176-
}
176+
}
177+
178+
@media only screen and (min-width : 320px) and (max-width : 768px) {
179+
#hero header {
180+
padding-top: 60px;
181+
}
182+
183+
#hero header h1 {
184+
font-size: 44px;
185+
}
186+
187+
#hero header h2 {
188+
font-size: 24px;
189+
}
190+
191+
.button, button {
192+
padding: 5px 14px;
193+
margin: 0px 1px;
194+
font-size: 17px;
195+
}
196+
197+
nav {
198+
margin-top: 25px;
199+
}
200+
}

components/landing-page/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "landing-page",
3-
"description": "",
4-
"version": "1.1.2",
3+
"description": "The LandingPage microapp for the OpenComponents website",
4+
"version": "1.1.3",
55
"oc": {
66
"files": {
77
"data": "server.js",
@@ -16,6 +16,6 @@
1616
}
1717
},
1818
"devDependencies": {
19-
"oc-template-handlebars-compiler": "6.0.8"
19+
"oc-template-handlebars-compiler": "6.1.3"
2020
}
2121
}

0 commit comments

Comments
 (0)