Skip to content

Commit 6be969e

Browse files
modifications to he website added
1 parent 3b7b537 commit 6be969e

File tree

14 files changed

+144
-125
lines changed

14 files changed

+144
-125
lines changed

blog_P3/.DS_Store

0 Bytes
Binary file not shown.

blog_P3/Gemfile.lock

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,6 @@ GIT
55
specs:
66
eventmachine (1.2.7)
77

8-
GIT
9-
remote: https://github.com/jekyll/minima
10-
revision: 6b9b78dad3e5c9f733c901e10287465735b36169
11-
specs:
12-
minima (3.0.0.dev)
13-
jekyll (>= 3.5, < 5.0)
14-
jekyll-feed (~> 0.9)
15-
jekyll-seo-tag (~> 2.1)
16-
178
GEM
189
remote: https://rubygems.org/
1910
specs:
@@ -50,17 +41,10 @@ GEM
5041
webrick (~> 1.7)
5142
jekyll-feed (0.17.0)
5243
jekyll (>= 3.7, < 5.0)
53-
jekyll-remote-theme (0.4.3)
54-
addressable (~> 2.0)
55-
jekyll (>= 3.5, < 5.0)
56-
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
57-
rubyzip (>= 1.3.0, < 3.0)
5844
jekyll-sass-converter (3.0.0)
5945
sass-embedded (~> 1.54)
6046
jekyll-seo-tag (2.8.0)
6147
jekyll (>= 3.8, < 5.0)
62-
jekyll-sitemap (1.4.0)
63-
jekyll (>= 3.7, < 5.0)
6448
jekyll-watch (2.2.1)
6549
listen (~> 3.0)
6650
kramdown (2.5.1)
@@ -72,6 +56,10 @@ GEM
7256
rb-fsevent (~> 0.10, >= 0.10.3)
7357
rb-inotify (~> 0.9, >= 0.9.10)
7458
mercenary (0.4.0)
59+
minima (2.5.2)
60+
jekyll (>= 3.5, < 5.0)
61+
jekyll-feed (~> 0.9)
62+
jekyll-seo-tag (~> 2.1)
7563
pathutil (0.16.2)
7664
forwardable-extended (~> 2.6)
7765
public_suffix (6.0.1)
@@ -80,7 +68,6 @@ GEM
8068
ffi (~> 1.0)
8169
rexml (3.3.9)
8270
rouge (4.5.1)
83-
rubyzip (2.3.2)
8471
safe_yaml (1.0.5)
8572
sass-embedded (1.69.5-arm64-darwin)
8673
google-protobuf (~> 3.23)
@@ -95,7 +82,6 @@ GEM
9582
tzinfo-data (1.2024.2)
9683
tzinfo (>= 1.0.0)
9784
unicode-display_width (2.6.0)
98-
wdm (0.2.0)
9985
webrick (1.9.0)
10086

10187
PLATFORMS
@@ -107,14 +93,10 @@ DEPENDENCIES
10793
http_parser.rb (~> 0.6.0)
10894
jekyll (~> 4.3.4)
10995
jekyll-feed (~> 0.12)
110-
jekyll-remote-theme
111-
jekyll-seo-tag
112-
jekyll-sitemap
113-
minima!
96+
minima (~> 2.5)
11497
sassc
11598
tzinfo (>= 1, < 3)
11699
tzinfo-data
117-
wdm (>= 0.1.0)
118100

119101
BUNDLED WITH
120102
2.5.23

blog_P3/_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,4 @@ include:
8686
- assets
8787
- regions
8888
- visualizations
89+
- _pages

blog_P3/_includes/head.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
<!-- Three.js from official CDN -->
1111
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
12-
<script src="assets_perso/js/mapdata.js"></script>
13-
<script src="assets_perso/js/worldmap.js"></script>
14-
<script src="assets_perso/js/pip-map.js"></script>
15-
<script src="assets_perso/js/intro.js"></script>
12+
<script src="/assets_perso/js/mapdata.js"></script>
13+
<script src="/assets_perso/js/worldmap.js"></script>
14+
<script src="/assets_perso/js/pip-map.js"></script>
15+
<script src="/assets_perso/js/intro.js"></script>
1616
<script src="assets_perso/js/dynamic_load.js"></script>
1717
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
1818
<noscript><img src="/assets_perso/js/flourish/img_1.jpg" width="100%" alt="chart visualization" /></noscript>

blog_P3/_includes/header.html

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<header class="site-header" role="banner">
22
<div class="wrapper">
3-
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">AdvancedDestroyersofAll</a>
3+
<span class="site-title">AdvancedDestroyersofAll</span>
44
<nav class="site-nav">
55
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
66
<label for="nav-trigger">
@@ -11,19 +11,35 @@
1111
</span>
1212
</label>
1313
<div class="trigger">
14-
<a class="page-link" href="/home/">Home</a>
15-
<a class="page-link" href="/synopsis/">Synopsis</a>
16-
<a class="page-link" href="/introduction/">Introduction</a>
17-
<a class="page-link" href="/research-questions/">Research Questions</a>
18-
<a class="page-link" href="/team/">Team</a>
14+
<a class="page-link" href="{{ "/" | relative_url }}">Home</a>
15+
<a class="page-link" href="#synopsis">Synopsis</a>
16+
<a class="page-link" href="/#research-questions">Research Questions</a>
17+
<a class="page-link" href="/#team">Team</a>
1918
</div>
2019
</nav>
2120
</div>
2221
</header>
2322

2423
<section class="hero">
2524
<h1 id="typewriter-title">
26-
<span class="line1"></span>
25+
<span class="line1">Main Title Here</span>
2726
<span class="line2"></span>
2827
</h1>
29-
</section>
28+
</section>
29+
30+
<section class="synopsis-hero" id="synopsis" >
31+
<p id="typewriter-synopsis">
32+
<span class="synopsis-line">
33+
<br> Earth, 2013 <br>
34+
<i> In hope of connecting with extraterrestrial life, a group of humans launched a capsule into space containing a projector loaded with every movie made up until 2012. Their wish was simple: one day, the capsule would reach an inhabited planet and encourage its beings to communicate with Earth. They knew the capsule might drift through space for centuries, but the dream of proving aliens were real was worth the wait. </i><br>
35+
<br>
36+
<br> Polystar, 2024 <br>
37+
<i> Ada, a master’s student from the advanced planet Polystar, found herself in a predicament. It was the day before her project proposal deadline and she was desperately searching for a topic for her data analysis course. While taking a walk to clear her head, she spotted a small meteor falling into the nearby forest. Curious, she decided to investigate the meteor and was surprised when instead of rock, she found a capsule! <br>
38+
<br>
39+
Back home, Ada used her planet’s cutting-edge technology to open the capsule and power the machine inside. What she found left her speechless: tons of movies from a foreign civilization. Turning on her automatic language translator, she began watching the first film. Fascinated, Ada spent the entire night engrossed in the unfamiliar stories and didn’t get a wink of rest… But by morning, she knew exactly what her project would be! <br>
40+
<br>
41+
Rushing to class, Ada pitched her idea to her teacher: She would travel to earth and collect real-world data to compare to the movies she had seen. Her teacher, impressed with her proposal, approved it and gave her a budget to fund a week-long trip to the mysterious planet. Excited to discover a whole new world, Ada boarded her lightspeed vessel and set off on her adventure. <br>
42+
With only enough funding for a week, Ada knew she had to plan her trip wisely. Using the movie dataset extracted from the capsule, she analyzed the film production patterns and identified five major movie industry clusters on Earth. Based on this, she divided her trip into five destinations. The United States of America, which produced the largest number of films, seemed to hold the best potential for discovery. Therefore, she allocated 3 days of her journey to explore this region. The remaining four destinations—India, Europe, East-Asia —would each get one day. </i>
43+
</span>
44+
</p>
45+
</section>

blog_P3/_includes/index.html

Lines changed: 0 additions & 10 deletions
This file was deleted.

blog_P3/assets/.DS_Store

6 KB
Binary file not shown.

blog_P3/assets/main.scss

Lines changed: 45 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
.site-header {
1010
border-top: 0;
1111
border-bottom: 0;
12-
background: rgb(183, 164, 198);
12+
background: rgba(242, 240, 235, 0.95);
1313
position: fixed;
1414
width: 100%;
1515
z-index: 2500;
@@ -47,7 +47,7 @@
4747
}
4848

4949
.site-title, .site-nav .page-link {
50-
color: #333 !important;
50+
color: #2c3e50 !important;
5151
text-shadow: none;
5252
}
5353
/* END OF THE NAVIGATION BAR/HEADER */
@@ -76,9 +76,15 @@ body {
7676

7777
.home {
7878
min-height: 100vh;
79-
background-color: white;
79+
background-color: rgb(242, 240, 235);
80+
;
8081
padding: 0 2rem;
8182
opacity: 1;
83+
border: 1px solid white;
84+
border-radius: 10px;
85+
overflow: hidden;
86+
margin: 0 5%;
87+
padding: 0 5%;
8288
}
8389

8490

@@ -120,7 +126,7 @@ body {
120126
max-width: 90%;
121127
margin: 0 auto;
122128
padding: 0 20px;
123-
color: white;
129+
color: rgba(242, 240, 235, 0.95);
124130
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
125131
word-wrap: break-word;
126132
}
@@ -134,44 +140,6 @@ body {
134140

135141
/* END OF THE BACKGROUND */
136142

137-
/*
138-
.hero {
139-
margin: 50px auto; // Top/bottom margins and center horizontally
140-
max-width: 1200px; // Match content-wrapper
141-
background-image: url("/assets/images/background.gif");
142-
background-size: cover;
143-
background-position: center;
144-
padding: 50px 20px; // Spacing inside the hero
145-
color: white;
146-
text-align: center;
147-
border-radius: 8px;
148-
}
149-
150-
// RESPONSIVE MARGINS FOR SMALLER SCREENS
151-
@media (max-width: 768px) {
152-
.content-wrapper, .hero {
153-
margin: 20px auto;
154-
padding: 20px;
155-
}
156-
}
157-
*/
158-
159-
/* START OF THE BACKGROUND TRANSITION */
160-
/*#background-transition {
161-
position: fixed;
162-
top: 0;
163-
left: 0;
164-
width: 100%;
165-
height: 100vh;
166-
background-image: url("/assets/images/background.gif");
167-
background-size: cover;
168-
background-position: center;
169-
background-attachment: fixed;
170-
z-index: -2;
171-
opacity: 1;
172-
transition: opacity 0.8s ease-in-out;
173-
}
174-
*/
175143

176144
@media (max-width: 600px) {
177145
#background-transition {
@@ -197,13 +165,12 @@ body {
197165
/* START OF THE CONTENT BELOW BACKGROUND */
198166

199167
.content {
200-
//padding: 0 10px;
201-
background-color: white; // White content container
202-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); // Subtle shadow
203-
margin: 0 5%;
204-
//max-width: 1200px; // Centered container
168+
padding: 40px;
169+
background-color: white;
170+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
171+
margin: 0 5%;
205172
position: relative;
206-
z-index: 2; // Ensure content is above the background
173+
z-index: 2;
207174
}
208175

209176
.content::before {
@@ -268,16 +235,16 @@ body {
268235
position: relative;
269236
width: 100%;
270237
//height: 500px; //Normal map size´
271-
transition: all 0.3s ease-in-out; // Smooth transition for PiP mode
238+
transition: all 0.5s ease-in-out; // Smooth transition for PiP mode
272239
overflow: hidden
273240
}
274241

275242
#map-container.pip {
276243
position: fixed;
277244
bottom: 16px;
278245
right: 16px;
279-
width: 300px;
280-
height: auto;
246+
width: 300px; // Adjusted width
247+
height: 200px; // Adjusted height
281248
max-height: 600px; // Making sure PiP map doesn’t grow too large
282249
overflow: hidden; // No spill
283250
//display: none;
@@ -286,7 +253,7 @@ body {
286253
background: white; // Fallback background
287254
border-radius: 12px; // Rounded corners
288255
cursor: grab; // Show the grab cursor
289-
transition: all 0.3s ease-in-out; // Disable transitions for smooth dragging
256+
transition: all 0.8s ease-in-out; // Disable transitions for smooth dragging
290257
}
291258
/* END OF PIP*/
292259

@@ -416,7 +383,30 @@ body {
416383
}
417384
/* END OF TYPE TOTALLY SPIES */
418385

386+
.synopsis-hero {
387+
min-height: 100vh;
388+
display: flex;
389+
align-items: center;
390+
justify-content: center;
391+
text-align: center;
392+
background-color: transparent; // Ensure transparency
393+
background-size: cover;
394+
background-position: center;
395+
background-attachment: scroll;
396+
opacity: 1;
397+
z-index: 1000;
398+
padding: 2rem;
399+
}
419400

420-
421-
422-
401+
#typewriter-synopsis {
402+
font-size: clamp(0.5rem, 2vw, 1.5rem);
403+
font-weight: bold;
404+
display: inline-block;
405+
overflow-wrap: break-word;
406+
white-space: normal;
407+
text-align: center;
408+
margin: 1rem auto;
409+
max-width: 80%;
410+
color: rgba(242, 240, 235, 0.95);
411+
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
412+
}

blog_P3/assets_perso/.DS_Store

6 KB
Binary file not shown.
-32.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)