Skip to content

Commit a84543f

Browse files
authored
Merge pull request #8 from opencomponents/mobile
Media !important queries for mobile
2 parents a240a5f + b1f8518 commit a84543f

File tree

5 files changed

+33
-9717
lines changed

5 files changed

+33
-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 Component 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
}

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
}, i[r].l = 1 * new Date(); a = s.createElement(o),
1515
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
1616
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
17-
1817
ga('create', 'UA-54446639-6', 'auto');
1918
ga('send', 'pageview');
2019
</script>

0 commit comments

Comments
 (0)