-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.css
115 lines (91 loc) · 1.85 KB
/
about.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
header {
position: relative;
min-height: 100vh;
transform-style: inherit;
z-index: -1;
}
header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: block;
background: url('Images/yeast3.jpg') top center;
background-size: cover;
background-repeat: no-repeat;
min-height: 100%;
z-index: -2;
}
/*************************************************************
SECTIONS
**************************************************************/
.sectionX {
position: relative;
min-height: 100vh;
position: relative;
transform-style: inherit;
}
.section1 {
background: #fafafa;
box-shadow: 0 0 20px #333;
z-index: 1;
}
.section2::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: block;
background: url('Images/MeFace2.jpg') top center;
background-size: contain;
z-index: -1;
}
/*************************************************************
HEADINGS
**************************************************************/
.textOnAbout {
font-size: 1em;
text-align: center;
position: absolute;
padding: 1rem;
background: #fafafa;
box-shadow: 0 0 20px #333;
top: 50%;
left: 50%;
transform: translateZ(-1px) scale(2) translate(-25%, -25%);
}
.section1 h1 {
z-index: 3;
transform: translate(-50%, -50%);
box-shadow: none;
}
.section2 h1 {
transform: translateZ(-.3px) scale(1.3) translate(-39%, -39%);
z-index: 3;
}
/*************************************************************
BASIC STYLES
**************************************************************/
*,
*::before,
*::after,
:root {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
overflow: hidden;
height: 100%;
}
body {
overflow-x: hidden;
overflow-y: scroll;
height: 100%;
perspective: 1px;
transform-style: preserve-3d;
}