-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (94 loc) · 1.86 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
body {
font-family: 'Open Sans', sans-serif;
background-color: #f4f7f6;
color: #333;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
max-width: 800px;
width: 100%;
padding: 20px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
font-weight: 600;
color: #2c3e50;
margin-bottom: 20px;
}
.toolbar {
text-align: center;
margin-bottom: 20px;
}
button {
background-color: #3498db;
color: #fff;
border: none;
padding: 10px 15px;
margin: 5px;
border-radius: 5px;
cursor: pointer;
font-weight: 600;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #2980b9;
}
.editor-container {
display: flex;
gap: 20px;
}
textarea, #markdown-preview {
width: 100%;
min-height: 300px;
padding: 15px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #fafafa;
box-sizing: border-box;
transition: border 0.3s ease;
}
textarea:focus {
border-color: #3498db;
outline: none;
}
#markdown-preview {
background-color: #fff;
border: 1px solid #e0e0e0;
border-radius: 5px;
overflow: auto;
padding: 15px;
}
#markdown-input::placeholder {
color: #bdc3c7;
}
.footer {
text-align: center;
margin-top: 20px;
}
.footer p {
margin: 10px 0;
color: #7f8c8d;
display: flex;
align-items: center;
justify-content: center;
}
.github-icon {
width: 20px;
height: 20px;
margin-left: 15px;
cursor: pointer;
}
@media (max-width: 600px) {
.editor-container {
flex-direction: column;
}
}