-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
99 lines (97 loc) · 2.01 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
/* General Styles */
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Lato', sans-serif;
}
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
}
#halo {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh;
}
#container {
width: 550px;
height: 450px;
}
.header {
display: flex;
font-size: 1.2rem;
border: solid 2px white;
color: white;
background-color: black;
padding: 10px;
width: 80%;
margin: 20px auto;
border-radius: 4px;
text-align: center;
align-items: center;
justify-content: center;
height: 40px;
transition: height 1s;
}
.header:hover {
height: 100px;
}
.main-content {
width: 100%;
height: 300px;
border-radius: 15px;
padding: 50px 40px;
box-shadow: 0 0 10px;
background-color: white;
transform-style: preserve-3d;
transition: all 1s ;
}
.main-content:hover{
opacity: .8;
}
.main-content .text-area {
transform: translateZ(20px);
color: black;
text-shadow: 0 5px 5px rgba(0, 0, 0, 0.262);
font-size: 1.5rem;
line-height: 1.5;
}
.main-content .person {
transform: translateZ(20px);
font-size: 1.6rem;
color: rgb(51, 0, 179);
text-shadow: 0 5px 5px rgba(0, 0, 0, 0.262);
font-weight: bold;
text-transform: uppercase;
margin-top: 20px;
}
.button-area button {
background-color: rgb(72, 72, 72);
color: white;
font-size: 1.3rem;
padding: 10px 15px;
margin-top: 20px;
border-radius: 5px;
cursor: pointer;
}
.button-area button:active {
background-color: rgb(200, 200, 200);
}
@media screen and (max-width: 550px) {
.main-content, .header{
font-size: 1rem;
display: flex;
flex-direction: column;
height: auto;
transition: all 1s;
}
.header{
height: 40px;
}
}