Improved responsiveness

This commit is contained in:
James Dinh 2022-06-18 11:50:21 -07:00
parent 44b0c0182b
commit 3ce7ac6d54
5 changed files with 112 additions and 24 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -311,23 +311,28 @@ nav li a:focus::after{
transform: scale(0.9); transform: scale(0.9);
} }
} }
@media (max-height: 600px) { @media (max-height: 550px) {
#logo { #logo {
transform: scale(0.8); transform: scale(0.8);
} }
#header-subtitle-date { #header-subtitle-date {
transform: translateY(-50px); transform: translateY(-30px);
} }
#spots-container { #spots-container {
transform: translateY(-50px); transform: translateY(-30px);
} }
#line-header { #line-header {
transform: translateY(-50px); transform: translateY(-30px);
} }
#entrance-arrow { #entrance-arrow {
visibility: hidden; visibility: hidden;
} }
} }
@media (max-height: 400px) {
#header {
transform: scale(0.7);
}
}
.blob { .blob {
background: black; background: black;
@ -382,7 +387,7 @@ nav li a:focus::after{
text-align: center; text-align: center;
position: relative; position: relative;
background-image: linear-gradient(#0d111733 50%, #0d11175e 60%, #0d1117 100%); /* background-image: linear-gradient(#0d111733 50%, #0d11175e 60%, #0d1117 100%); */
} }
#logo { #logo {
@ -438,6 +443,12 @@ nav li a:focus::after{
transition: 0.1s; transition: 0.1s;
} }
#header-gradient {
width: 100%;
height: 100%;
background-image: linear-gradient(#0d111733 50%, #0d11175e 60%, #0d1117 100%);
}
@keyframes bounce { @keyframes bounce {
0%, 20%, 50%, 80%, 100% { 0%, 20%, 50%, 80%, 100% {
transform: translateY(0); transform: translateY(0);
@ -725,12 +736,6 @@ section {
.timeline-input::before { .timeline-input::before {
left: -64px; left: -64px;
} }
/* #t1::before {
content: "<";
color: white;
font-size: 30px;
position: relative;
} */
.timeline-input::after { .timeline-input::after {
right: -64px; right: -64px;

BIN
img/.DS_Store vendored

Binary file not shown.

View File

@ -69,6 +69,7 @@
<!--Front Page--> <!--Front Page-->
<header> <header>
<div id="header-background"> <div id="header-background">
<div id="header-gradient">
<div id="header"> <div id="header">
<img id="logo" src="img/Gilroy Hacks Logo [Summer].png" height="400" width="400" alt="logo"/> <img id="logo" src="img/Gilroy Hacks Logo [Summer].png" height="400" width="400" alt="logo"/>
<hr id="line-header"> <hr id="line-header">
@ -85,6 +86,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</header> </header>
<!--Main--> <!--Main-->
<main> <main>

81
liscenses.html Normal file
View File

@ -0,0 +1,81 @@
<!DOCTYPE html>
<html lang="en">
<!--
Gilroy Hacks Website Source Code -> HTML (https://gilroyhacks.com)
Web-Designed by James Dinh ᓚᘏᗢ from scratch using pure HTML, CSS, and JS
For more info, contact jamesdinh77 (at) protonmail (dot) com
Copyright Disclaimer: This Source Code is Copyright (c) 2022 Gilroy Hacks All Rights Reserved.
-->
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Gilroy Hacks</title>
<link href="css/general.css" rel="stylesheet" type="text/css" media="all">
<link href="css/scroll_nav.css" rel="stylesheet" type="text/css" media="all">
<link rel="stylesheet" href="css/leaflet.css"/>
<link rel="icon" href="img/Gilroy-Hacks-Logo-icon-tp.ico">
<link rel="apple-touch-icon" href="img/Gilroy Hacks Logo (app).png">
<meta name="author" content="Gilroy Hacks">
<meta name="copyright" content="This site and its pages are Copyright (c) 2022 Gilroy Hacks All Rights Reserved.">
<meta name="description" content="The official website for the Gilroy Hacks Hackathon. Strengthen your skills and collaborate with others to create something useful.">
<meta name="keywords" content="Gilroy Hacks, GilroyHacks, Gilroy, hackathon, Bay Area, GECA, Dr. TJ Owens Gilroy Early College Academy">
<script src="js/leaflet.js"></script>
<script defer data-domain="gilroyhacks.com" src="https://plausible.gilroyhacks.com/js/plausible.js"></script>
<style>
@font-face {
font-family: "Glacial Indifference";
src: url("font/GlacialIndifference-Regular.otf") format('opentype');
font-display: swap;
}
body {
position: relative;
background-color: #0d1117 !important;
background-image: "";
color: #f2f1ef !important;
font-family: "Glacial Indifference";
}
</style>
<!--For icons, go here: https://iconsvg.xyz/ -->
</head>
<body>
<!--Nav-->
<nav id="navBar">
<a id="nav-logo-a" href="./">
<img id="nav-logo" src="img/Gilroy Hacks Logo [Summer-wide-2].png" alt="logo"/>
</a>
<div id="nav-links-container">
<input type="checkbox" id="check">
<label for="check" class="checkbtn">
<img src="img/bars.png" loading="lazy" height="17" width="25" alt="Bars"/>
</label>
<a onclick="check('01'); save();" target="_blank" href="https://forms.gle/coK7q43RwBV2f15i7"><div id="sign-up">SIGN UP</div></a>
<ul>
<li><a onclick="uncheck('check')" href="#event">Event</a></li>
<li><a onclick="uncheck('check')" href="#rules">Rules</a></li>
<li><a onclick="uncheck('check')" href="#prizes">Prizes</a></li>
<li><a onclick="uncheck('check')" href="#team">Team</a></li>
</ul>
<div id="banner">
<p id="banner-text">Next event:<br>Opening Ceremony <abbr class="tooltip-nav" title="Aug 12, 4pm"><span id="timer"></span></abbr></p>
</div>
</div>
</nav>
<!--Footer-->
<footer>
<ul>
<li><a class="link" onclick="check('02'); save()" target="_blank" href="https://discord.gg/nkTDKMcYbr" title="Discord Invite Link">Discord</a></li>
<li><a class="link" target="_blank" href="mailto:tech@gilroyhacks.com" title="Email">Contact Us</a></li>
<li><a class="link" target="_blank" href="https://forms.gle/jhVFg4hN42k7EMZs7" title="Volunteer Signup Form">Volunteer Signup</a></li>
</ul>
<hr id="footer-line">
© 2022 Gilroy Hacks <br>
All Rights Reserved
</footer>
</body>
</html>