Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teeny tiny changes #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
197 changes: 169 additions & 28 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ body {
.hero {
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/images/backdrop.jpg");
min-height: 100vh;
display: flex;
display: flex;
background-position: center top;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-attachment: scroll;
align-items: center;
justify-content: center;
text-align: center;
Expand All @@ -39,19 +39,166 @@ body {
}

.hero-button {
display: inline-block;
background: #fff;
color: #3f2b96;
position: relative;
width: auto;
height: auto;
padding: 10px 20px;
text-decoration: none;
background-color: #fff;
display: inline-flex;
align-items: center;
justify-content: center;
color: #3f2b96;
font-weight: 700;
margin-top: 20px;
text-decoration: none;
border: none;
border-radius: 5px;
transition: background 0.3s;
cursor: pointer;
transition: background 0.3s, transform 0.2s ease-in-out;
}

.hero-button::before {
content: '';
position: absolute;
inset: 0;
margin: auto;
width: calc(100% + 8px);
height: calc(100% + 8px);
border-radius: 8px;
background: linear-gradient(-45deg, #a8c0ff 0%, #3f2b96 100%);
z-index: -10;
pointer-events: none;
transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-button::after {
content: "";
z-index: -1;
position: absolute;
inset: 0;
background: linear-gradient(-45deg, #6a11cb 0%, #2575fc 100%);
transform: translate3d(0, 0, 0) scale(0.95);
filter: blur(20px);
border-radius: 8px;
pointer-events: none;
}

.hero-button:hover {
background: #e0e0e0;
color: #fff;
transform: scale(1.05);
}

.hero-button:hover::after {
filter: blur(30px);
}

.hero-button:hover::before {
transform: rotate(-180deg);
}

.hero-button:active {
transform: scale(0.95);
}

.hero-button:active::before {
scale: 0.7;
}

/* Style for the mystery tool */
.mystery-tool {
display: inline-flex;
align-items: center;
text-decoration: none;
color: #3f2b96;
font-weight: bold;
}

.mystery-box {
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px; /* Dimensions for the box */
height: 24px;
background-color: #e0e0e0; /* Light gray background */
border-radius: 4px; /* Rounded corners */
border: 2px solid #3f2b96; /* Box border matching the theme */
margin-right: 8px; /* Space between box and text */
position: relative;
}

.mystery-box-2 {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100px; /* Dimensions for the box */
height: 18px;
background-color: #e0e0e0; /* Light gray background */
border-radius: 4px; /* Rounded corners */
border: 2px solid #3f2b96; /* Box border matching the theme */
margin-right: 8px; /* Space between box and text */
position: relative;
}

.question-mark {
font-family: 'Montserrat', sans-serif;
font-weight: 700;
font-size: 14px;
color: #3f2b96;
position: relative;
top: -1px; /* Slight adjustment for vertical centering */
}

.mystery-tool:hover .mystery-box {
background-color: #3f2b96; /* Dark background on hover */
color: #ffffff; /* White question mark on hover */
}
.mystery-tool:hover .mystery-box-2 {
background-color: #3f2b96; /* Dark background on hover */
color: #ffffff; /* White question mark on hover */
}

.mystery-tool:hover .question-mark {
color: #ffffff;
}

.button {
display: flex;
justify-content: center;
align-items: center;
padding: 10px 15px;
gap: 15px;
margin: 0 auto;
background-color: #181717;
outline: 3px #181717 solid;
outline-offset: -3px;
border-radius: 5px;
margin-top: 20px;
border: none;
cursor: pointer;
transition: 400ms;
}

.button .text {
color: white;
font-weight: 700;
font-size: 1em;
transition: 400ms;
}

.button svg path {
transition: 400ms;
}

.button:hover {
background-color: transparent;
}

.button:hover .text {
color: #181717;
}

.button:hover svg path {
fill: #181717;
}

.about-section,
Expand Down Expand Up @@ -100,6 +247,11 @@ body {

.footer {
background: #f5f5f5;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 20px 0;
margin-top: 40px;
text-align: center;
Expand Down Expand Up @@ -137,26 +289,6 @@ body {
text-decoration: underline;
}

/* Footer GitHub Link */
.github-link {
display: inline-flex;
align-items: center;
color: #333;
text-decoration: none;
font-weight: bold;
margin-top: 10px;
}

.github-link:hover {
text-decoration: underline;
}

.github-icon {
width: 20px;
height: 20px;
margin-right: 8px;
vertical-align: middle;
}

.inline-code {
font-family: 'Courier New', Courier, monospace;
Expand Down Expand Up @@ -205,3 +337,12 @@ body {
.plungers-list a:hover {
text-decoration: underline;
}

.divider {
height: 3px;
width: 70%;
background: linear-gradient(to right, #6a11cb , #3f2b96);
border-radius: 10px;
margin: 40px auto;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
68 changes: 52 additions & 16 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,46 @@ <h2>About JPoop</h2>
</div>
</section>

<div class="divider"></div>

<section id="mops" class="mops-section">
<div class="container">
<h2>Our Mops</h2>
<p>Use these mops to clean up the chaos:</p>
<ul class="mops-list">
<li><a href="https://codeblech.github.io/jportal">JPortal</a> – It doesn't get any messier than Attendance!
<li><a href="https://codeblech.github.io/jportal" class="mystery-tool">
<span class="mystery-box-2">
<span class="question-mark">JPortal</span>
</span>
</a> – It doesn't get any messier than Attendance!
Though last endsem's cram session will give you a bad trip to the toilet.
(credits to da goat: <a href="https://github.com/codeblech" target="_blank">@codeblech</a>)</li>
<li><a href="https://jiit.pythonanywhere.com">JPGram</a> – Photo wall for JPee Hubs, coz the college doesn't have one updated.</li>
<li><a href="https://planner.jpoop.in">Planner</a> – Save yourself from the cryptic JIIT Time Tables and low
<li><a href="https://jiit.pythonanywhere.com" class="mystery-tool">
<span class="mystery-box-2">
<span class="question-mark">JPGram</span>
</span></a>
– Photo wall for JPee Hubs, coz the college doesn't have one updated.</li>
<li><a href="https://planner.jpoop.in" class="mystery-tool">
<span class="mystery-box-2">
<span class="question-mark">Planner</span>
</span>
</a> – Save yourself from the cryptic JIIT Time Tables and low
attendance (no guarantee for the last one).</li>
<li><a href="https://wifi.jpoop.in">???</a> – <span class="inline-code">curl https://wifi.jpoop.in</span></li>
<li>
<a href="https://wifi.jpoop.in" class="mystery-tool">
<span class="mystery-box">
<span class="question-mark">?</span>
</span>
– <span class="inline-code">curl https://wifi.jpoop.in</span>
</a>
</li>

</ul>
</div>
</section>

<div class="divider"></div>

<section id="plungers" class="plungers-section">
<div class="container">
<h2>Our Plungers</h2>
Expand All @@ -67,14 +91,24 @@ <h2>Our Plungers</h2>
life easier:
</p>
<ul class="plungers-list">
<li><a href="https://github.com/codeblech/jsjiit">jsjiit</a> – The library that powers JPortal. The drainage system to JIIT Webpooptal.</li>
<li><a href="https://github.com/codelif/pyjiit">pyjiit</a> – A python library for the same WebPooptal.</li>
<li><a href="https://github.com/codelif/jiit-marks">jiit-marks</a> – A marks report PDF parser written in python.</li>
<li><a href="https://github.com/codelif/jiit-tt-parser">jiit-tt-parser</a> – Parse your TTs (Time Tables). Powers JIIT Planner.</li>
<li><a href="https://github.com/codeblech/jsjiit" class="mystery-tool"><span class="mystery-box-2">
<span class="question-mark">jsjiit</span>
</span></a> – The library that powers JPortal. The drainage system to JIIT Webpooptal.</li>
<li><a href="https://github.com/codelif/pyjiit" class="mystery-tool"><span class="mystery-box-2">
<span class="question-mark">pyjiit</span>
</span></a> – A python library for the same WebPooptal.</li>
<li><a href="https://github.com/codelif/jiit-marks" class="mystery-tool"><span class="mystery-box-2">
<span class="question-mark">jiit-marks</span>
</span></a> – A marks report PDF parser written in python.</li>
<li><a href="https://github.com/codelif/jiit-tt-parser" class="mystery-tool"><span class="mystery-box-2">
<span class="question-mark">jiit-tt-parser</span>
</span></a> – Parse your TTs (Time Tables). Powers JIIT Planner.</li>
</ul>
</div>
</section>

<div class="divider"></div>

<section id="contribute" class="contribute-section">
<div class="container">
<h2>Contribute Your Tool</h2>
Expand All @@ -91,14 +125,16 @@ <h2>Contribute Your Tool</h2>

<footer class="footer">
<div class="container footer-container">
<p>&copy; <span id="year"></span> JPoop. All rights reserved.</p>
<p><small>Crafted by students tired of the BS, for students who deserve better.</small></p>
<p>
<a href="https://github.com/codelif/jpoop.in" target="_blank" class="github-link">
<img src="{{ url_for('static', filename='icons/github-icon.svg') }}" alt="GitHub" class="github-icon" /> Star
us at our GitHub Repo
</a>
</p>
<p>&copy; <span id="year"></span> JPoop. All rights reserved.</p>
<p><small>Crafted by students tired of the BS, for students who deserve better.</small></p>
<p>
<a href="https://github.com/codelif/jpoop.in" target="_blank" style="text-decoration: none;">
<button class="button">
<svg width="28" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 0.296997C5.37 0.296997 0 5.67 0 12.297C0 17.6 3.438 22.097 8.205 23.682C8.805 23.795 9.025 23.424 9.025 23.105C9.025 22.82 9.015 22.065 9.01 21.065C5.672 21.789 4.968 19.455 4.968 19.455C4.422 18.07 3.633 17.7 3.633 17.7C2.546 16.956 3.717 16.971 3.717 16.971C4.922 17.055 5.555 18.207 5.555 18.207C6.625 20.042 8.364 19.512 9.05 19.205C9.158 18.429 9.467 17.9 9.81 17.6C7.145 17.3 4.344 16.268 4.344 11.67C4.344 10.36 4.809 9.29 5.579 8.45C5.444 8.147 5.039 6.927 5.684 5.274C5.684 5.274 6.689 4.952 8.984 6.504C9.944 6.237 10.964 6.105 11.984 6.099C13.004 6.105 14.024 6.237 14.984 6.504C17.264 4.952 18.269 5.274 18.269 5.274C18.914 6.927 18.509 8.147 18.389 8.45C19.154 9.29 19.619 10.36 19.619 11.67C19.619 16.28 16.814 17.295 14.144 17.59C14.564 17.95 14.954 18.686 14.954 19.81C14.954 21.416 14.939 22.706 14.939 23.096C14.939 23.411 15.149 23.786 15.764 23.666C20.565 22.092 24 17.592 24 12.297C24 5.67 18.627 0.296997 12 0.296997Z" fill="white"></path>
</svg>
<p class="text">Star us at our GitHub Repo </p>
</button></a></div></p>
</div>
</footer>

Expand Down