Skip to content

Commit d29cf61

Browse files
committed
Robosub coverimage test
1 parent 621328d commit d29cf61

File tree

8 files changed

+46
-7
lines changed

8 files changed

+46
-7
lines changed

_includes/comp-showcase.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<section class="hero" id="comp-showcase">
2+
<figure class="hero-background" style="background-image: url('{{page.hero-image}}');">
3+
<div class="overlay">
4+
<div class="container">
5+
<div class="title-text">
6+
<h1 class="title has-text-white-ter is-size-1 has-text-weight-bold">
7+
{{page.title}}
8+
</h1>
9+
</div>
10+
</div>
11+
</div>
12+
</section>

_site/assets/css/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/style.scss

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -910,9 +910,6 @@ body { background-color: var(--background); }
910910
margin: 0 auto;
911911
margin-bottom: 1rem;
912912
}
913-
.subtitle {
914-
display: none;
915-
}
916913
}
917914
}
918915

@@ -1309,3 +1306,31 @@ body { background-color: var(--background); }
13091306
}
13101307
}
13111308

1309+
#comp-showcase {
1310+
position: relative;
1311+
height: 60vh;
1312+
background: var(--background);
1313+
1314+
.hero-background {
1315+
width: 100%;
1316+
height: 100%;
1317+
background-size: cover;
1318+
background-position: center;
1319+
position: relative;
1320+
}
1321+
.overlay {
1322+
position: absolute;
1323+
top: 0;
1324+
left: 0;
1325+
width: 100%;
1326+
height: 100%;
1327+
background-color: rgba(0, 0, 0, 0.7);
1328+
display: flex;
1329+
justify-content: center;
1330+
align-items: center;
1331+
padding: 2rem;
1332+
}
1333+
.title-text {
1334+
text-align: center;
1335+
}
1336+
}
File renamed without changes.
130 KB
Loading
File renamed without changes.

mate.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
layout: comp
33
title: "MATE"
4-
full-logo: "https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/what-a-theme-test/assets/images/mate-logo.webp"
4+
full-logo: "https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/what-a-theme-test/assets/images/comps/mate-logo.webp"
55
title-logo:
6+
hero-image: "https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/what-a-theme-test/assets/images/support-us-hero.webp"
67
description: "The MATE ROV Competition is an international robotics competition in which teams create underwater Remotely Operated Vehicles (ROVs). ROVs are piloted, and are typically used for ocean exploration and precise manipulation of objects in hazardous areas. MATE ROV's competition attempts to mirror these missions, with tasks involving coral restoration, mooring array maintenance, and sample collections."
78
---

robosub.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
layout: comp
33
title: "RoboSub"
4-
full-logo: "https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/what-a-theme-test/assets/images/robosub-logo.webp"
5-
title-logo:
4+
full-logo: "https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/what-a-theme-test/assets/images/comps/robosub-logo.webp"
5+
title-logo:
6+
hero-image: "https://raw.githubusercontent.com/CabrilloRoboticsClub/cabrillorobotics.github.io/what-a-theme-test/assets/images/comps/robosub-hero.webp"
67
description: "RoboSub is an international robotics competition in which teams compete to create Autonomous Underwater Vehicles (AUVs). These AUVs are completely unmanned, and must use sensor data to navigate and complete various tasks in a live competition. The competition tasks mirror real-world AUV missions, such as seafloor mapping and sonar localisation."
78
---

0 commit comments

Comments
 (0)