-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmedia.css
121 lines (113 loc) · 2.17 KB
/
media.css
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/* need to work out how to say the width categorically can never be less than 230 */
/* 300 */
@media only screen and (max-width: 900px) {
/* styles for browsers thinner than 900px; */
*{
font-size: small;
};
}
@media screen and (max-width: 480px) and (min-width:300px){
/* styles for mobile browsers smaller than 480px; (iPhone) */
/* originally had it as max-device-width but max-width is more versatile */
#canvas{
width:50%
}
*{
font-size: small;
};
.time-dig{
font-size: xx-small;}
form{
margin-top: 5px;
padding:5px;
}
}
@media only screen and (max-width: 768px) {
#canvas{
width:50%
}
*{
font-size: small;
};
#mobilecheck {display: none;}
.navbarlist {
display: none;
}
.navbaricon {
display: block;
padding-right: 10px;
padding-bottom: 10px;
}
.burgermenuexpanded {
position: fixed;
display: block;
top: 55px;
right: 23px;
background-color: inherit;
padding-left: 7px;
}
.navbarliitem {
text-align: left;
}
.landinggrid {
grid-template-areas:
". . ."
"past whento future"
"description description description"
;
}
.page{
padding: 10%
}
}
@media only screen and (max-width: 550px) {
#canvas{
width:30%
}
*{
/* font-size: x-small; */
};
.page{
padding:5%
}
}
@media screen and (max-width: 390px) {
#canvas{
width:30%
}
*{
font-size: small;
};
.time-dig{
}
#current-time{
font-size: x-small;
padding: 1px
}
.page {
padding: 10%;
}
h2{
margin-top: 10px;
}
}
@media (max-height:801px)and (orientation:landscape) {
/* For landscape layouts only */
#canvas{
width:10%
}
#flex_cont{
display: flex; /*this line defines whether 1 or 2 cols*/
flex-wrap:wrap;
/* max-width: min-content; */
}
#col1{
flex:29%
}
#colmid{
flex:2%
}
#col2{
flex:29%;
}
}