-
Notifications
You must be signed in to change notification settings - Fork 0
/
mid.html
102 lines (93 loc) · 3.37 KB
/
mid.html
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
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>UI PSY</title>
<link rel="icon" href="assets/uxui.png" type="image/gif" sizes="25x25">
<link rel="stylesheet" type="text/css" href="style.css">
<script src="./elements.js"></script>
<style>
html {
scroll-behavior: smooth;
}
.header {
background-color: white;
/* padding-top: 10px; */
}
.main p {
text-align: justify;
}
picture img {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}
#psy {
width: 25%;
}
#samsung {
width: 12.5%;
}
</style>
</head>
<body class="mid">
<lang-navbar class="navbar" name="top" style="position: relative"></lang-navbar>
<div class="grid-container">
<div class="header">
<div id="analysis"></div>
</div>
<side-menu class="left"></side-menu>
<div class="main">
<div id="p1">
<p id="con1"></p>
<p id="con2"></p>
</div>
<picture>
<source media="(min-width: 700px)" srcset="assets/psy.png" alt="Psychology" width="300">
<img id="psy" src="assets/psy.png" alt="Psychology" width="300" <br>
</picture>
<div id="p2">
<p id="con3"></p>
</div>
<picture>
<source media="(min-width: 700px)" srcset="assets/nokia.jpeg" alt="Disconnecting People" width="300">
<img id="nokia" src="assets/nokia.jpeg" alt="Disconnecting People" width="400" <br>
</picture>
<div id="p3">
<p id="con4"></p>
</div>
<picture>
<img id="samsung" src="assets/samsung.gif" alt="galaxy" width="144">
</picture>
<button id="btn"><a href="#top" ;"><img src="assets/backtotop.png" alt="top" width="62.5"
height="50"></a></button>
</div>
<div class="footer">
<toe-one class="toe1"></toe-one>
<div class="toe2">
<div id="n1">“People ignore design <br>that ignores people.”<br><br></div>
<div id="n"><strong>Frank Chimero<br>Designer</strong></div>
</div>
<toe-three class="toe3"></toe-three>
</div>
</div>
<script type="text/javascript">
var headerBg = document.getElementById('analysis');
window.addEventListener('scroll', function () {
headerBg.style.opacity = 1 - +window.pageYOffset / 350 + ''
headerBg.style.top = +window.pageYOffset / 2 + 'px'
headerBg.style.backgroundPositionY = 1 - +window.pageYOffset / 8 + 'px'
});
</script>
<script src="brain.js"></script>
<script>
var lang = getLanguage();
document.getElementById("con1").innerHTML = lang.con1;
document.getElementById("con2").innerHTML = lang.con2;
document.getElementById("con3").innerHTML = lang.con3;
document.getElementById("con4").innerHTML = lang.con4;
</script>
</body>
</html>