-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtexteditor.css
91 lines (89 loc) · 1.74 KB
/
texteditor.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
/* Default styling for desktop screens */
body {
background-color: rgb(12, 87, 116);
}
.box {
width: 650px;
height: 600px;
margin: auto;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: whitesmoke;
border-radius: 10px;
}
#boldbtn {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-weight: bold;
font-size: 20px;
background-color: whitesmoke;
color: #000000;
margin-left: 120px;
margin-top: 20px;
border: 1px solid black;
width: 40px;
height: 40px;
}
.dropdownbtns {
width: 50px;
height: 40px;
background-color: whitesmoke;
color: black;
border: 1px solid black;
margin-left: 20px;
margin-top: 20px;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 15px;
}
#fonts {
width: 150px;
}
#fontcolor {
width: 90px;
}
textarea {
margin-left: 20px;
background-color: whitesmoke;
color: black;
border: 2px solid black;
border-radius: 3px;
padding-top: 20px;
padding-left: 5px;
font-size: 14px;
height: 470px;
width: 600px;
resize: none;
}
/* Media query for smaller screens */
@media (max-width: 768px) {
.box {
width: 100%;
height: auto;
margin: 0;
position: relative;
border-radius: 0;
}
#boldbtn {
margin-left: 0;
}
.dropdownbtns {
margin-left: 0;
margin-bottom: 10px;
}
#fonts {
width: 100%;
margin-bottom: 10px;
}
#fontcolor {
width: 100%;
margin-bottom: 10px;
}
textarea {
margin: 0;
height: 300px;
width: 100%;
font-size: 16px;
}
}