-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.php
148 lines (137 loc) · 3.52 KB
/
about.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quiz Website</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="main">
<header class="header">
<a href="#" class="logo">Quiz</a>
<nav class="navbar">
<a href="#" class="active">About</a>
<a href="index.php">Home</a>
</nav>
</header>
<div class="container ">
<link href='https://fonts.googleapis.com/css?family=Oswald:400,700' rel='stylesheet' type='text/css'>
<div class="aboutAuthor">
<div class="K2_bio">
<img alt="About " src="img.webp">
<h2> Mohamed Yousef</h2>
<div class="h-divider">
<div class="shadow"></div>
<div class="text2"></div>
</div>
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris pretium augue non orci pharetra, eget dictum ante sagittis. Suspendisse eu nibh justo. Cras scelerisque urna lectus. Praesent rhoncus ut risus quis convallis. Praesent nec lorem eros.</p>
<div class="h-divider">
<div class="shadow"></div>
</div>
<div class="k2About-bt">
<a class="button" href="#"><span style="color: white;">Add Link</span></a>
</div>
</div>
</div>
<style>
.aboutAuthor {
padding: 60px 0 20px 0;
}
.aboutAuthor .K2_bio {
justify-content: center;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
align-items: center;
max-width: 70%;
margin: auto;
padding: 80px 15px 65px 15px;
/*background-color: #FFF;*/
box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
border-radius: 10px;
border: 2px solid #404040;
font-family:'Oswald',serif;
}
.aboutAuthor .K2_bio img {
background-image: linear-gradient(to top right,#ffffff,#ffa24d);
box-shadow: 0 5px 20px rgba(0,0,0,.2);
padding: 0;
border: 7px solid #ffc2b4;
width: 120px;
height: 120px;
position: absolute;
border-radius: 50%;
top: -60px;
pointer-events: none;
}
.aboutAuthor .K2_bio h2{
margin:0px!important;
padding: 0;
}
.aboutAuthor .K2_bio p {
margin: 1em 0!important;
text-align: center;
}
.aboutAuthor .K2_bio .k2About-bt {
text-align: center;
position: absolute;
bottom: 10px;
}
.k2About-bt {
width: 100px;
height: 30px;
background:#C8102E;
text-align: center;
padding: 0 10px ;
line-height:1.8em;
border-radius: 5px ;
}
.k2About-bt :link {
text-decoration: none;
}
.h-divider {
margin: auto;
margin-top: 15px;
width: 80%;
position: relative;
}
.h-divider .shadow {
overflow: hidden;
height: 20px;
}
.h-divider .shadow:after {
content: '';
display: block;
margin: -25px auto 0;
width: 100%;
height: 25px;
border-radius: 125px/12px;
box-shadow: 0 0 8px black;
}
.h-divider .text2 {
width: 20px;
height: 20px;
position: absolute;
bottom: 100%;
margin-bottom: -10px;
left: 50%;
margin-left: -10px;
border-radius: 100%;
box-shadow: 0 2px 4px #999;
background: white;
border: 1px dashed #777;
}
.darkmoade .aboutAuthor .K2_bio {
background-color: var(--dark-bgAlt);
}
</style>
</div>
</div>
</main>
<script src="questions.js"></script>
<script src="script.js"></script>
</body>
</html>