-
Notifications
You must be signed in to change notification settings - Fork 27
/
responsive.scss
83 lines (65 loc) · 1.49 KB
/
responsive.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/*========== Non-Mobile First Method ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
.container {
max-width: 960px;
}
}
/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
header {
.top-nav {
flex-direction: column;
.logo {
margin: auto;
}
ul {
margin: 20px auto 0;
width: 80%;
}
}
.hero {
grid-template-columns: 1fr;
text-align: center;
.hero-image {
padding-left: 0;
margin-top: 40px;
}
}
}
.featured-section {
padding: 50px 0;
.products {
grid-template-columns: 1fr;
}
}
.blog-section {
.blog-posts {
grid-template-columns: 1fr;
text-align: center;
grid-template-areas:
"blog1"
"blog2"
"blog3";
}
}
footer .footer-content {
flex-direction: column;
.made-with {
margin: auto;
}
ul {
margin: 20px auto;
width: 60%;
}
}
}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
}
/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
}
/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
}