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

separated the css from the html files #674

Merged
merged 3 commits into from
Aug 2, 2024
Merged
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
563 changes: 0 additions & 563 deletions index.html

Large diffs are not rendered by default.

79 changes: 1 addition & 78 deletions pages/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,85 +9,8 @@
href="../assets/favicon.ico"
type="image/x-icon"
/>
<link rel="stylesheet" href="../styles/404.css">
<script src="/js/loader.js"></script>

<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f6f6f6;
}
.center {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 90vh;
}
.pic {
width: 700px;
height: 700px;
animation: updown 2s ease-in-out infinite alternate;
}
@keyframes updown {
from {
transform: translateY(0);
}
to {
transform: translateY(20px);
}
}
a {
text-decoration: none;
color: #353535;
}
.btn {
position: absolute;
padding: 10px 20px;
background-color: #32ddaac9;
border-radius: 5px;
font-size: 20px;
font-weight: bold;
border: none;
top: 600px;
}
@media screen and (max-width: 600px) {
.pic {
width: 300px;
height: 300px;
}
.btn {
top: 400px;
}
}

.circle {
position: absolute;
width: 25px;
height: 25px;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(circle, #ff6600, #ffb584a5);
transition: transform 0.1s, left 0.1s, top 0.1s;
}

.circle-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999;
}

@media (max-width: 768px) {
.circle-container {
display: none;
}
}
</style>
</head>

<body>
Expand Down
195 changes: 0 additions & 195 deletions pages/FAQs.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,201 +12,6 @@
<script src="/js/loader.js"></script>

<title>FAQs</title>

<style>
.attribution {
font-size: 11px;
text-align: center;
}

.attribution a {
color: hsl(228, 45%, 44%);
}

.circle {
position: absolute;
width: 25px;
height: 25px;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(circle, #ff6600, #ffb584a5);
transition: transform 0.1s, left 0.1s, top 0.1s;
}

.circle-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999;
}

@media (max-width: 768px) {
.circle-container {
display: none;
}
}

html,
body {
height: 100%;
margin: 0;
overflow: auto !important;
/* Allow scrolling */
height: 105%;
}

body {
background-color: #e7b537;
display: flex;
flex-direction: column;
font-family: "WorkSans-Regular", Arial, sans-serif;
}

@media screen and (max-width: 450px) {
.contributor-card {
max-width: 90%;
}

.navbar {
flex-direction: column;
padding: 5px !important;
}

.faqcontainer {
background-color: white;
border-radius: 20px;
padding: 20px;
max-width: 600px;
width: 90%;
box-shadow: 10px 10px 15px rgba(101, 99, 99, 0.5);
margin: 100px auto 20px;
/* Increased margin-top to avoid content being hidden under navbar */
flex: 1;
z-index: 0;
/* Ensure it's below the fixed elements */
margin-top: 54px;
}

.author {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
background: linear-gradient(to right, #00093c, #2d0b00);
color: #fff;
padding: 0px;
position: fixed;
bottom: 0;
z-index: 1000;
height: 67px;
flex-shrink: 0;
box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
/* Added shadow for better visibility */
}

.author .fotbar {
display: flex;
gap: -22px;
}

.author .fotbar a {
color: white;
text-decoration: none;
padding: 10px;
border-radius: 5px;
font-size: 18px;
background-color: transparent;
}

.author p {
color: white;
padding: 10px;
margin-right: -550px;
font-size: 20px;
font-weight: 600;
}

.author .social-icons {
display: flex;
gap: 10px;
margin-right: 20px;
}

.author a {
color: white !important;
}

.author .social-icons a {
color: white;
text-decoration: none;
font-size: 20px;
}
}

@media screen and (max-width: 1190px) {
.author a {
font-size: small;
}
}

@media screen and (max-width: 1065px) {
.author .fotbar {
display: grid;
}

.author .fotbar a {
font-size: 14px;
}
}

@media screen and (max-width: 550px) {
.author {
display: none !important;
}

.navbar {
display: none !important;
}

.author p {
font-size: 16px;
padding: 0;
}

.author .fotbar a {
font-size: 12px;
}

.author .social-icons a {
font-size: 15px;
}

.faqcontainer {
margin-top: 49px;
}
}

@media (max-width: 768px) {
.author {
position: relative !important;
}
}

::-webkit-scrollbar {
width: 8px;
}

::-webkit-scrollbar-thumb {
background-color: rgba(255, 220, 131, 0.979);
border-radius: 15px;
}
::-webkit-scrollbar-track {
background-color: rgba(46, 33, 0, 0.979);
}
</style>
</head>

<body>
Expand Down
Loading