forked from nostalgic-css/NES.css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
88 lines (78 loc) · 1.35 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
body {
padding: 0 2rem;
margin: 2rem;
}
.nes-container:not(:last-child) {
margin-bottom: 1rem;
}
i.brand {
margin-right: 1rem;
}
div.containers > .nes-container {
display: inline-block;
max-width: 400px;
}
.balloon.nes-container .nes-balloon {
max-width: 600px;
margin: 2rem 2rem;
}
.balloon.nes-container .messages {
display: flex;
flex-direction: column;
}
.balloon.nes-container .message {
display: flex;
}
.balloon.nes-container .message i {
align-self: flex-end;
}
.balloon.nes-container .message.-left {
align-self: flex-start;
}
.balloon.nes-container .message.-right {
align-self: flex-end;
}
.form.nes-container > .nes-field:not(:last-child) {
margin-bottom: 1rem;
}
.footer {
text-align: center;
}
.footer a {
color: #333;
text-decoration: none;
}
.github-link {
position: fixed;
top: 10px;
right: 10px;
z-index: 999;
display: flex;
height: 100px;
color: #333;
text-decoration: none;
}
.github-link:hover {
text-decoration: none;
}
.github-link > p.nes-balloon {
align-self: flex-start;
padding: 0.2rem 0.5rem;
font-size: 0.8rem;
color: #333;
}
.github-link > i.nes-octocat {
align-self: flex-end;
}
@media screen and (max-width: 768px) {
body {
padding: 0;
margin: 2rem 0.2rem;
}
.balloon.nes-container .nes-balloon {
max-width: 70%;
}
.github-link {
display: none;
}
}