-
Notifications
You must be signed in to change notification settings - Fork 0
/
Physics.html
290 lines (250 loc) · 10.6 KB
/
Physics.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
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Physics Book Review</title>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXX-Y', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/jpg" href="./Flask.png">
<link rel="stylesheet" href="./W3_CSS_Template_files/w3.css">
<link rel="stylesheet" href="./Lato.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body,h1,h2,h3,h4,h5,h6 {font-family: "Lato", sans-serif;}
body, html {
height: 100%;
color: #777;
line-height: 1.8;
}
.whiteNavBar{
color: #FFFFFF}
/* Create a Parallax Effect */
.bgimg-1{
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-image: url("./cmpBooksImages/saturnVoyager1.png");
min-height: 400px;
}
/*lightbox boundingbox*/
.bounding-box {
/*background-image: url("./rect12.png");*/
/*background-image: url("./BristolImages/kingsdownPradeRS.jpg");*/
/*background-repeat: no-repeat;*/
/*background-size: contain;*/
padding-top: 100%; /* https://www.w3schools.com/howto/howto_css_aspect_ratio.asp */
position: relative;
overflow: hidden;
}
/*lightbox boundingbox*/
.bounding-box1 {
/*background-image: url("./rect12.png");*/
/*background-image: url("./BristolImages/kingsdownPradeRS.jpg");*/
/*background-repeat: no-repeat;*/
/*background-size: contain;*/
padding-top: 100%; /* https://www.w3schools.com/howto/howto_css_aspect_ratio.asp */
position: relative;
overflow: hidden;
}
.abs {
width: 100%;
/* height: inherit; */
/* overflow: hidden; */
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.abs2 {
height: 100%;
/* height: inherit; */
/* overflow: hidden; */
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.fa-pi:before {
font-weight: 700;
content: '\1D70B';
}
.fa-rho:before {
font-weight: 700;
content: '\03C1';
}
</style>
<body>
<!-- Navbar (sit on top) -->
<div class="w3-top whiteNavBar">
<div class="w3-bar" id="myNavbar">
<a class="w3-bar-item w3-button w3-hover-black w3-hide-medium w3-hide-large w3-right" href="javascript:void(0);" onclick="toggleFunction()" title="Toggle Navigation Menu">
<i class="fa fa-bars"></i>
</a>
<a href="./index.html#home" class="w3-bar-item w3-button w3-hide-small"><i class="fa fa-home"></i> HOME</a>
<a href="./index.html#about" class="w3-bar-item w3-button w3-hide-small"><i class="fa fa-user"></i> ABOUT</a>
<a href="./index.html#portfolio" class="w3-bar-item w3-button w3-hide-small"><i class="fa fa-pencil"></i> PORTFOLIO</a>
<a href="./Chemistry.html#chemistry" class="w3-bar-item w3-button w3-hide-small"><i class="fa fa-flask"></i> CHEMISTRY</a>
<a href="./Physics.html#physics" class="w3-bar-item w3-button w3-hide-small"><i class="fa fa-rocket"></i> PHYSICS</a>
<a href="./Maths.html#maths" class="w3-bar-item w3-button w3-hide-small"><i class="fa fa-info"></i> MATHS</a>
<a href="./index.html#contact" class="w3-bar-item w3-button w3-hide-small"><i class="fa fa-envelope"></i> CONTACT</a>
</a>
</div>
<!-- Navbar on small screens -->
<div id="navDemo" class="w3-bar-block w3-white w3-hide w3-hide-large w3-hide-medium">
<a href="./index.html#about" class="w3-bar-item w3-button" onclick="toggleFunction()">ABOUT</a>
<a href="./index.html#portfolio" class="w3-bar-item w3-button" onclick="toggleFunction()">PORTFOLIO</a>
<a href="./index.html#contact" class="w3-bar-item w3-button" onclick="toggleFunction()">CONTACT</a>
</div>
</div>
<!-- First Parallax Image with Logo Text -->
<div class="bgimg-1 w3-display-container w3-opacity-min" id="home">
<div class="w3-display-middle w3-center" style="white-space:wrap;">
<span class="w3-center w3-padding-large w3-black w3-xlarge w3-wide w3-animate-opacity"><b>Physics</b><span> Book Review</span></span>
<p class="w3-center w3-text-white"><em>Click on the images below to view the reviews</em></p>
</div>
</div>
<!-- Container (Reviews Section) -->
<div class="w3-row-padding w3-center w3-section w3-content">
<div class="w3-col m3">
<div class='bounding-box'>
<a href="./ReviewSGVT.html"><img src="./cmpBooksImages/SGVT.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs" alt="A Students Guide to Vectors and Tensors"></a>
</div>
</div>
<div class="w3-col m3">
<div class='bounding-box'>
<a href="./ReviewCosmologyAVSI.html"><img src="./cmpBooksImages/CosmologyASVI.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs" alt="Cosmology A Very Short Introduction"></a>
</div>
</div>
<div class="w3-col m3">
<div class='bounding-box'>
<a href="ReviewEinsteinsTheory.html"><img src="./cmpBooksImages/EinsteinsTheory.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs" alt="Einstein's Theory"></a>
</div>
</div>
<div class="w3-col m3">
<div class='bounding-box'>
<a href="ReviewParticlePhysicsAVSI.html"><img src="./cmpBooksImages/ParticlePhysicsAVSI.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs2" alt="Particle Physics ASVI"></a>
</div>
</div>
</div>
<div class="w3-row-padding w3-center w3-section w3-content">
<div class="w3-col m3">
<div class='bounding-box1'>
<a href="SixNotSoEasyPieces.html"><img src="./cmpBooksImages/SixNoSoEasyPieces.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs" alt="Six Not-So-Easy Pieces"></a>
</div>
</div>
<div class="w3-col m3">
<div class='bounding-box'>
<a href="ReviewSGW.html"><img src="./cmpBooksImages/SGTW.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs" alt="A Student's Guide to Waves"></a>
</div>
</div>
<div class="w3-col m3">
<div class='bounding-box'>
<a href="ReviewFluidMechanicsAVSI.html"><img src="./cmpBooksImages/FluidMechanicsAVSI.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs" alt="Fluid Mechanics A Very Short Introduction"></a>
</div>
</div>
<div class="w3-col m3">
<div class='bounding-box'>
<a href="ReviewBiggestIdeas1.html"><img src="./cmpBooksImages/BiggestIdeas1.jpg" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs2" alt="Biggest Ideas in the Universe 1 Space, Time and Motion"></a>
</div>
</div>
</div>
<div class="w3-row-padding w3-center w3-section w3-content">
<div class="w3-col m3">
<div class='bounding-box'>
<img src="./cmpBooksImages/myBookCase2.JPG" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs" alt="Under Construction">
</div>
</div>
<div class="w3-col m3">
<div class='bounding-box'>
<img src="./cmpBooksImages/myBookCase2.JPG" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs" alt="Under Construction">
</div>
</div>
<div class="w3-col m3">
<div class='bounding-box'>
<img src="./cmpBooksImages/myBookCase2.JPG" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs" alt="Under Construction">
</div>
</div>
<div class="w3-col m3">
<div class='bounding-box'>
<img src="./cmpBooksImages/myBookCase2.JPG" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs2" alt="Under Construction">
</div>
</div>
</div>
<div class="w3-row-padding w3-center w3-section w3-content">
<div class="w3-col m3">
<div class='bounding-box'>
<img src="./cmpBooksImages/myBookCase2.JPG" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs" alt="Under Construction">
</div>
</div>
<div class="w3-col m3">
<div class='bounding-box'>
<img src="./cmpBooksImages/myBookCase2.JPG" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs" alt="Under Construction">
</div>
</div>
<div class="w3-col m3">
<div class='bounding-box'>
<img src="./cmpBooksImages/myBookCase2.JPG" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs" alt="Under Construction">
</div>
</div>
<div class="w3-col m3">
<div class='bounding-box'>
<img src="./cmpBooksImages/myBookCase2.JPG" style="width:100%" onclick="onClick(this)" class="w3-hover-opacity abs2" alt="Under Construction">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Modal for full size images on click-->
<div id="modal01" class="w3-modal w3-black" onclick="this.style.display='none'">
<span class="w3-button w3-large w3-black w3-display-topright" title="Close Modal Image"><i class="fa fa-remove"></i></span>
<div class="w3-modal-content w3-animate-zoom w3-center w3-transparent w3-padding-64">
<img id="img01" class="w3-image">
<p id="caption" class="w3-opacity w3-large"></p>
</div>
</div>
<!-- Footer -->
<footer class="w3-center w3-black w3-padding-64 w3-opacity w3-hover-opacity-off">
<a href="./Physics.html#home" class="w3-button w3-light-grey"><i class="fa fa-arrow-up w3-margin-right"></i>To the top</a>
<p><h3>Image Credits</h3></p>
<p>Book Images - see Review page</p>
<!-- <p>Powered by <a href="https://www.MinimumWageWebsites.com/" title="Minimum Wage Websites" target="_blank" class="w3-hover-text-green">Minimum Wage Websites</a></p> -->
</footer>
<script>
// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src
document.getElementById("modal01").style.display = "block";
var captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}
// Change style of navbar on scroll
window.onscroll = function() {myFunction()};
function myFunction() {
var navbar = document.getElementById("myNavbar");
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
navbar.className = "w3-bar" + " w3-card" + " w3-animate-top" + " w3-white";
} else {
navbar.className = navbar.className.replace(" w3-card w3-animate-top w3-white", "");
}
}
// Used to toggle the menu on small screens when clicking on the menu button
function toggleFunction() {
var x = document.getElementById("navDemo");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
</script>