-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
86 lines (72 loc) · 1.23 KB
/
styles.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
}
header {
background-color: #282c34;
color: white;
padding: 10px 20px;
text-align: center;
}
.container {
display: flex;
height: calc(100vh - 50px);
}
.sidebar {
width: 20%;
background-color: #fff;
border-right: 1px solid #ddd;
padding: 20px;
box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}
.sidebar h2 {
margin-top: 0;
}
.sidebar ul {
list-style-type: none;
padding: 0;
}
.sidebar ul li {
padding: 10px;
cursor: pointer;
border-bottom: 1px solid #ddd;
}
.sidebar ul li:hover {
background-color: #f0f0f0;
}
.main {
width: 80%;
padding: 20px;
display: flex;
flex-direction: column;
}
.question-container {
margin-bottom: 20px;
}
#question-title {
margin-top: 0;
}
.editor-container {
flex-grow: 1;
display: flex;
flex-direction: column;
}
#code-editor {
flex-grow: 1;
height: 300px;
margin-bottom: 10px;
}
button {
align-self: flex-end;
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
cursor: pointer;
border-radius: 5px;
}
button:hover {
background-color: #45a049;
}