-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
107 lines (93 loc) · 1.36 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
html,
body {
background: rgb(18, 18, 18);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu,
"Helvetica Neue", sans-serif;
color: #fff;
}
* {
box-sizing: border-box;
}
h1,
h4 {
color: rgb(248, 232, 28);
text-align: center;
}
p {
text-align: center;
max-width: 600px;
margin: 20px auto;
}
.wrapper {
width: 80%;
display: flex;
margin: 0 auto;
flex-direction: column;
}
.box {
margin: 0 auto;
width: 80%;
max-width: 1200px;
}
#target {
float: left;
}
#code-wrapper {
float: right;
}
.box > * {
/* flex: 1 1 0; */
/* flex-basis: 100%; */
width: calc(50% - 20px);
padding: 10px;
height: 100%;
min-height: 350px;
}
@media (max-width: 700px) {
.wrapper {
width: 100%;
}
.box {
flex-direction: column-reverse;
}
.box > * {
width: 100%;
}
}
form {
margin: 0 auto;
display: flex;
width: 300px;
border-radius: 5px;
border: 1px solid #fff;
}
a {
color: rgb(248, 232, 28);
}
form input {
flex: 1;
outline: none;
border: 0;
background: transparent;
padding: 10px;
color: #fff;
}
form button,
button {
border: 0;
border-left: 1px solid #fff;
background: transparent;
color: #fff;
padding: 5px 20px;
cursor: pointer;
}
#demo {
margin: 0 auto;
border: 1px solid #fff;
border-radius: 5px;
margin: 0 auto;
display: block;
}
img {
max-width: 100%;
}