-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
212 lines (185 loc) · 3.6 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
body {
font-family: 'Open Sans', Arial, sans-serif;
background-color: #f4f4f4;
text-align: center;
}
.card-container {
background-color: white;
margin: 20px auto;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 500px;
}
/* Colleagues can add styles for their drawings here */
/* Example:
.tree {
// CSS for drawing a tree
}
*/
/* Styles for colleague messages */
.colleague-messages p {
margin: 10px 0;
font-style: italic;
}
/* Christmas Tree Styles */
.tree {
display: inline-block;
margin: 0 auto;
color: green;
}
.tree .tree-top {
top: -10px;
width: 0;
height: 0;
margin-left: 29px;
margin-bottom: -2px;
border-left: 55px solid transparent;
border-right: 56px solid transparent;
border-bottom: 88px solid green;
}
.tree .tree-middle {
border-bottom: 70px solid green;
border-left: 35px solid transparent;
border-right: 35px solid transparent;
height: 0;
width: 70px;
position: relative;
top: 1px;
left: 18px
}
.tree .tree-bottom {
border-bottom: 90px solid green;
border-left: 45px solid transparent;
border-right: 45px solid transparent;
height: 0;
width: 90px;
position: relative;
z-index: 2;
}
.tree .tree-trunk {
background-color: brown;
height: 60px;
width: 20px;
margin: 0 auto;
position: relative;
top: -30px;
}
/*
* SAMS CSS
*/
.moustache {
width: 100px;
height: 20px;
background: black;
border-radius: 20px/10px;
position: relative;
top: 20px;
left: 50%;
transform: translateX(-50%);
}
.moustache::before, .moustache::after {
content: '';
width: 40px;
height: 40px;
background: black;
border-radius: 20px/10px;
position: absolute;
top: 15px;
}
.moustache::before {
left: -30px;
transform: rotate(-20deg);
}
.moustache::after {
right: -30px;
transform: rotate(20deg);
}
.text {
padding-top: 1rem;
font-family: Arial, sans-serif;
text-align: center;
margin-top: 50px;
font-size: 20px;
font-weight: bold;
}
.name {
color: #333;
}
.title {
color: #666;
font-size: 16px;
}
.art-container {
display: flex;
justify-content: space-around;
align-items: center;
}
.circle {
width: 100px;
height: 100px;
background-color: #ff6347;
border-radius: 50%;
}
.square {
width: 100px;
height: 100px;
background-color: #4682b4;
}
.triangle {
width: 0;
height: 0;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
border-bottom: 100px solid #32cd32;
}
.message {
text-align: left;
}
.hatcontainer{
display: flex;
justify-content: space-around;
align-items: center;
background-color: lightgray;
padding: 18px;
border-radius: 8px;
}
.hat {
height: 0;
width: 0;
border-bottom: 100px solid red;
border-right: 50px solid transparent;
border-left: 50px solid transparent;
position: relative;
}
.hat::after {
content: '';
position: absolute;
top: 90px;
right: -50px;
width: 100px;
height: 15px;
border-radius: 100px;
background-color: white;
}
.hat__top {
position: absolute;
height: 0px;
width: 0px;
right: 7px;
top: -4px;
border-bottom: 50px solid red;
border-right: 15px solid transparent;
border-left: 15px solid transparent;
transform: rotate(-100deg);
}
.hat__top::after {
content: '';
position: absolute;
bottom: -10px;
left: -13px;
background: white;
height: 25px;
width: 25px;
border-radius: 100%;
}