Skip to content

Commit d67fbb7

Browse files
committed
Initial media queries and responsive styles
1 parent 2d5a790 commit d67fbb7

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

template.css

+37
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,40 @@ ul li:last-child:after {
6060
.up-sharing td:first-child {
6161
color: #353;
6262
}
63+
64+
/*
65+
iPad Styles
66+
*/
67+
68+
@media screen and (max-device-width: 1024px), screen and (max-width: 1024px) {
69+
70+
body {
71+
-webkit-text-size-adjust: 100%;
72+
}
73+
74+
header,
75+
footer,
76+
section {
77+
width: auto;
78+
}
79+
80+
}
81+
82+
83+
/*
84+
Small Screen Styles
85+
*/
86+
87+
@media handheld and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 800px) {
88+
89+
body {
90+
-webkit-text-size-adjust: 100%;
91+
}
92+
93+
header,
94+
footer,
95+
section {
96+
width: auto;
97+
}
98+
99+
}

0 commit comments

Comments
 (0)