This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.css
115 lines (102 loc) · 2.13 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
html {
background: #1c1c1c;
box-sizing: border-box;
color: #cacecf;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
padding: 10px;
}
*, *:before, *:after {
box-sizing: inherit;
}
a {
color: #fff;
}
body {
max-width: 1100px;
margin: 0 auto;
padding: 10px;
background: #2c2c2c;
}
.form {
display: grid;
grid-template-columns: 1fr 2fr;
grid-template-rows: 1fr 2fr 1fr;
grid-template-areas:
"password body"
"certificate body"
"certificate body"
"button button"
"result result"
"log log";
}
@media (max-width: 600px) {
.form {
grid-template-columns: 1fr;
grid-template-areas:
"password"
"certificate"
"body"
"button"
"result"
"log";
}
}
.form__password { grid-area: password; }
.form__certificate { grid-area: certificate; }
.form__body { grid-area: body; }
.form__result { grid-area: result; }
.form__log { grid-area: log; }
.form__button { grid-area: button; }
input, textarea {
background: #333;
border: 1px solid #555;
color: #cacecf;
display: block;
height: 100%;
padding: 5px;
resize: none;
width: calc(100% - 20px);
}
.button {
background: #703232;
border: none;
color: #fff;
cursor: pointer;
display: inline-block;
font-family: sans-serif;
font-size: 1rem;
margin: 0;
padding: 1rem 2rem;
text-align: center;
text-decoration: none;
transition: background 250ms ease-in-out,
transform 150ms ease;
-webkit-appearance: none;
-moz-appearance: none;
}
.button:hover,
.button:focus {
background: #5a2d2d;
}
.button:focus {
outline: 1px solid #fff;
outline-offset: -4px;
}
.button:active {
transform: scale(0.99);
}
.footer {
margin: 20px 0 0;
}
.CodeMirror {
border: 1px solid #555;
height: 100%;
max-width: 720px;
}
.cm-s-monokai.CodeMirror {
background: #333;
}
.cm-s-monokai .CodeMirror-gutters {
background: #333;
}