-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
94 lines (78 loc) · 1.43 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
@mixin vertical-align {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
* {
box-sizing: border-box;
}
html {
height: 100%;
}
body {
margin: 0px;
height: 100%;
}
header {
text-align: center;
}
h1 {
font-family: 'Comfortaa', sans-serif;
margin: 0px;
}
div#change_username, section#input_zone {
border: 5px outset #8258FA;
}
div#change_username {
height: 3%;
display: inline-block;
background-color: #BCA9F5;
}
section#chatroom {
border: 5px inset #8258FA;
height: 85%;
overflow: auto;
}
section#input_zone {
height: 7%;
text-align: center;
background-color: #BCA9F5;
}
.vertical-align {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
input#username {
font-family: 'Comfortaa', sans-serif;
}
input#message {
display: inline-block;
width: 88%;
height: 70%;
font-family: 'Comfortaa', sans-serif;
font-size: 2vh;
}
button#send_message {
display: inline-block;
height: 70%;
width: 10%;
}
p.message {
margin: 0px;
width: 100%;
height: 40px;
font-size: 2vh;
font-family: 'Comfortaa', sans-serif;
padding: 1vh;
}
.message:nth-child(even) {
background-color: #81DAF5;
}
.message:nth-child(odd) {
background-color: #81BEF7;
}