-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (93 loc) · 1.75 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #f0f4f8;
color: #333;
font-family: Arial, sans-serif;
transition: background-color 0.3s, color 0.3s;
}
body.dark-mode {
background: #333;
color: #ddd;
}
.container {
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
gap: 20px;
padding: 20px;
}
.toolbar {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
button {
background: #007bff;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s ease;
}
button:hover {
background: #0056b3;
}
button.dark-mode {
background: #444;
}
.editor-container {
display: flex;
gap: 20px;
height: calc(100vh - 80px);
}
.input, .output {
flex: 1;
padding: 20px;
border-radius: 8px;
background: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s, box-shadow 0.3s;
}
body.dark-mode .input, body.dark-mode .output {
background: #222;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
label {
display: block;
font-weight: bold;
margin-bottom: 5px;
}
textarea {
width: 100%;
height: calc(33vh - 40px);
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
resize: vertical;
transition: border-color 0.3s;
}
textarea:focus {
border-color: #007bff;
}
body.dark-mode textarea:focus {
border-color: #555;
}
iframe {
width: 100%;
height: 100%;
border: 1px solid #ddd;
border-radius: 4px;
transition: border-color 0.3s;
}
body.dark-mode iframe {
border-color: #444;
}