-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.css
82 lines (70 loc) · 1.08 KB
/
demo.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
html {
background:#222;
margin:auto;
width:80%;
}
body{
background: linear-gradient(#aaa 0, #ddd 10px, #fff 55px);
border: 1px solid black;
padding: 10px 20px;
box-shadow: 5px 0px 30px #000;
border-radius: 8px;
}
h1 {
text-align: center;
color: #222;
margin: 0 0 30px;
}
.button {
color: #333;
background: linear-gradient(#eee, #ddd);
border: 1px solid #222;
border-radius: 3px;
padding: 7px;
margin-right: 5px;
transition: .3s;
font-family: ubuntu, sans-serif;
font-size: 1em;
}
.button:active {
background: linear-gradient(#ddd, #eee);
}
.button:hover, button:focus {
box-shadow: 0 0 2px #222;
}
#execute {
margin-top: 5px;;
width: 10%;
min-width:100px;
}
.CodeMirror {
border: 1px solid #222;
height: auto;
}
.CodeMirror-scroll {
overflow-y: hidden;
overflow-x: auto;
}
.error {
color:red;
transition:.5s;
overflow:hidden;
margin: 15px;
}
#output {
overflow: auto;
}
table {
width:auto;
margin:auto;
border:1px solid black;
border-collapse:collapse;
margin-bottom:10px;
}
th, td {
border:1px solid #777;
}
footer {
font-size:.8em;
color: #222;
}