-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
97 lines (87 loc) · 2.17 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
/*General Styles*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
background: url(industrial-designer-digital-art.jpg) no-repeat center center/
cover;
background-size: cover;
}
.container {
width: 550px;
height: 450px;
}
.header {
font-size: 1.2rem;
border: solid 2px #fff;
color: #000000;
background-color: #262626;
padding: 5px;
width: 80%;
margin: 20px auto;
border-radius: 5px;
/* From https://css.glass */
background: rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.main-content {
width: 100%;
height: 300px;
background-color: #fff;
border-radius: 15px;
padding: 50px 40px;
box-shadow: 0 0 10px;
/* From https://css.glass */
background: rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.main-content .text-area {
font-size: 1.2rem;
line-height: 1.7;
}
.main-content .person {
font-size: 1.6rem;
color: rgb(98, 48, 15);
text-transform: uppercase;
margin-top: 20px;
/* From https://css.glass */
background: rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.button-area button {
background-color: #262626;
color: #000000;
font-size: 1rem;
padding: 10px 15px;
margin-top: 20px;
border-radius: 5px;
/* From https://css.glass */
background: rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.button-area button:active {
background-color: rgb(113, 169, 188);
}