This repository has been archived by the owner on Oct 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathresponsive.import.less
96 lines (72 loc) · 1.99 KB
/
responsive.import.less
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
89
90
91
92
93
94
95
96
/* #### All small screens #### */
// @media screen and (min-width: 640px){
// .dapp-flex-content {
// .flex-direction(row);
// .flex(1);
// }
// main.dapp-content {
// .flex(1);
// }
// aside.dapp-main {
// .flex(0 0 200px);
// }
// }
/* #### All small tablets screens #### */
@media screen and (max-width: 768px){
.dapp-actionbar {
flex: 1 100%;
nav ul {
display: flex;
li {
flex: 1
}
}
}
}
/* #### All small phone screens landscape #### */
@media screen and (max-width: 576px){
aside.dapp-main {
.flex(0 0 @widthSidebarSmall);
}
.dapp-header {
padding: @defaultPaddingVertical/2 @defaultPaddingHorizontal/2 0;
nav ul a {
padding: @defaultPaddingVertical/4 @defaultPaddingHorizontal/2;
}
}
}
@media screen and (max-width: 800px){
// aside.dapp-actions {
// width: @widthToolbarSmall;
// }
}
/* #### All small phone screens porttrait #### */
@media screen and (max-width: 480px){
}
/* #### Mobile Phones Portrait #### */
@media screen and (max-device-width: 480px) and (orientation: portrait){
body {
font-size: 14px;
}
}
/* #### Mobile Phones Landscape #### */
@media screen and (max-device-width: 640px) and (orientation: landscape){
body {
font-size: 15px;
}
}
/* #### Mobile Phones Portrait or Landscape #### */
@media screen and (max-device-width: 640px){
}
/* #### iPhone 4+ Portrait or Landscape #### */
@media screen and (max-device-width: 580px) and (-webkit-min-device-pixel-ratio: 2){
}
/* #### Tablets Portrait #### */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait){
}
/* #### Tablets Landscape #### */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape){
}
/* #### Desktops #### */
@media screen and (min-width: 1024px){
}