-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlocalstorage-markdown-editor.css
63 lines (55 loc) · 1.21 KB
/
localstorage-markdown-editor.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
/**
* Custom CSS for the localstorage-markdown-editor for fitting large and small screen displays
*
* @author ConcurrentHashMap <[email protected]>
* @license Licensed under MIT (https://github.com/ConcurrentHashMap/localstorage-markdown-editor/blob/master/LICENSE)
*/
#box {
display: block!important;
width: 45%;
float: left;
}
#raw-input, #raw-input.onfocus {
margin-left: 10px;
padding: 30px;
box-sizing: border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
display: inline;
width: 100%;
resize: none;
}
#content {
width: 50%!important;
float: left!important;
margin-left: 30px!important;
}
/* Fix navbar issue (line-height is mistakenly inherited from strapdown) */
.navbar {
line-height: 20px
}
.navbar .container {
margin-left: 10px
}
/* Large desktop */
@media (min-width: 1200px) {}
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
#box {
width: 45%;
}
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
#box {
width: 100%;
}
#raw-input {
margin-left: 0px;
}
#content {
width: auto!important;
}
}
/* Landscape phones and down */
@media (max-width: 480px) {}