Skip to content

Commit

Permalink
Enhance file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
AsteroidusTv committed Oct 12, 2024
1 parent cf9acc7 commit a07e1b2
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 61 deletions.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
<link rel="icon" href="images/logo.png" type="image/png">
<link rel="icon" type="image/svg+xml" href="images/logo.svg">
<link rel="icon" type="image/x-icon" href="images/favicon.ico">

<link rel="stylesheet" href="./styles/styles.css">
<link rel="stylesheet" href="./styles/header.css">
<link rel="stylesheet" href="./styles/main.css">
<link rel="stylesheet" href="./styles/home.css">
<link rel="stylesheet" href="./styles/about.css">

<script src="./scripts/script.js" defer></script>
<title>RecyTech</title>
Expand Down
59 changes: 59 additions & 0 deletions styles/about.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
.about {
display: flex;
align-items: center;
justify-content: space-between;
height: calc(100vh - var(--header-height));
background-color: var(--secondary-color);
padding: 50px;
position: relative;
height: 100vh;
}

.about-icon-wrapper {
position: absolute;
top: 50px;
left: 50px;
transform: scale(2);
overflow: hidden;
}

.about-icon {
width: 80px;
height: auto;
}

.about-text-content {
flex: 1;
max-width: 50%;
text-align: left;
padding-right: 20px;
}

.about-title {
font-family: "Raleway-SemiBold";
color: var(--primary-color);
font-size: 40px;
margin-bottom: 20px;
}

.about-text {
font-family: "Raleway-SemiBold";
color: var(--primary-color);
font-size: 18px;
line-height: 1.6;
margin-bottom: 20px;
}

.about-image-content {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
max-width: 50%;
}

.about-image {
width: 100%;
height: auto;
border-radius: var(--border-radius);
}
60 changes: 0 additions & 60 deletions styles/main.css → styles/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,66 +98,6 @@ main {
background-color: var(--secondary-color);
}

.about {
display: flex;
align-items: center;
justify-content: space-between;
height: calc(100vh - var(--header-height));
background-color: var(--secondary-color);
padding: 50px;
position: relative;
height: 100vh;
}

.about-icon-wrapper {
position: absolute;
top: 50px;
left: 50px;
transform: scale(2);
overflow: hidden;
}

.about-icon {
width: 80px;
height: auto;
}

.about-text-content {
flex: 1;
max-width: 50%;
text-align: left;
padding-right: 20px;
}

.about-title {
font-family: "Raleway-SemiBold";
color: var(--primary-color);
font-size: 40px;
margin-bottom: 20px;
}

.about-text {
font-family: "Raleway-SemiBold";
color: var(--primary-color);
font-size: 18px;
line-height: 1.6;
margin-bottom: 20px;
}

.about-image-content {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
max-width: 50%;
}

.about-image {
width: 100%;
height: auto;
border-radius: var(--border-radius);
}

@keyframes changeImage {
0%, 12.5% { transform: translateX(0%); }
25%, 37.5% { transform: translateX(-100%); }
Expand Down

0 comments on commit a07e1b2

Please sign in to comment.