-
Notifications
You must be signed in to change notification settings - Fork 0
/
_mobile.scss
88 lines (74 loc) · 1.24 KB
/
_mobile.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
84
85
86
87
88
// Widescreens
@include mediaXl {
.projects {
grid-template-columns: repeat(4, 1fr);
}
}
// Desktops & Laptops
@include mediaLg {
.projects {
grid-template-columns: repeat(3, 1fr);
}
}
// Tablets & Small Laptops
@include mediaMd {
main {
align-items: center;
text-align: center;
.lg-heading {
line-height: 1;
margin-bottom: 1rem;
}
}
ul.menu-nav,
div.menu-branding {
float: none;
width: 100%;
min-height: 0;
&.show {
transform: translate3d(0, 0, 0);
}
}
.menu-nav {
height: 75vh;
transform: translate3d(-100%, 0, 0);
font-size: 24px;
}
.menu-branding {
height: 25vh;
transform: translate3d(100%, 0, 0);
.portrait {
background: url('vishu.jpg');
width: 150px;
height: 150px;
}
}
.about-info {
grid-template-areas:
'bioimage'
'bio'
'job1'
'job2'
'job3';
grid-template-columns: 1fr;
}
.projects {
grid-template-columns: repeat(2, 1fr);
}
}
// Smartphones
@include mediaSm {
main {
padding: 2rem;
#home h1 {
margin-top: 10vh;
}
.lg-heading {
margin-top:1rem;
font-size: 5rem;
}
}
.projects {
grid-template-columns: 1fr;
}
}