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

Re-designing of Home Page #526 #535

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 5 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
Binary file added assets/codecanvasnew.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/codingcanvas.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
89 changes: 64 additions & 25 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,36 @@
}

body {
background: rgba(0, 0, 0, 0.9);

/*adding new back ground color*/
background-color: #635985;
/*background: rgba(0, 0, 0, 0.9);*/
margin: 0;
color: #fff;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
height: 100%;
width: 100%;
}
.showcase{
display: flex;
background-size: cover;/*to make image look better*/
width: 100%;
text-align: center;

}


.showcase::after{
content: "";
content: "";
height: 100vh;
width: 100%;
background-image: url(https://i.postimg.cc/hjkL7MBg/programming-background-with-person-working-with-codes-computer.jpg);
background-image: url(./codecanvasnew.jpg);/*adding new image to background*/
background-size: cover;
background-repeat: no-repeat;
background-position: center;
display: block;
background-position: 100%;
background-position-x:left;
/*display: block;*/
/*enabling the actual animation*/
filter: blur(10px);
-webkit-filter: blur(10px);
transition: all 1000ms;
Expand All @@ -50,33 +64,57 @@ body {
} */

.content {
position: absolute;
/*position: absolute;*/
z-index: 1;
top: 10%;
left: 50%;
top: 5%;
left: 0;
margin-top: 105px;
margin-left: -145px;
width: 300px;
height: 350px;
text-align: center;
height: 0px;
width: 0px;
/* text-align: center; */
margin-bottom: 20px;
}

.content .logo {
height: 200px;
width: 300px;
}

.content .title {
font-size: 3.2rem;
text-align: left;
}
.content>img{
text-align: left;
height: 300px;
width: 400px;
margin-left: 60px;
}
/*giving are heading text new heights and width*/
.headsec{
height: 100px;
width: 500px;
}
.note{
height: 500px;
width: 500px;
}
#left{
text-align: left;
}
.title {
/*font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;*/
width: 100%;
letter-spacing: 0.3px;
font-size: 3.5rem;
margin-top: 1rem;
font-family: "Abril Fatface", cursive;
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-weight: 700;
/*font-family: "Abril Fatface", cursive;*/
text-align: left;
margin-left:50px;
}

.content .text {
.text {
line-height: 1.7;
margin-top: 1rem;
font-size: 30px;
letter-spacing: 0.3px;
text-align: center;
margin-left:50px;
font-family: "Abril Fatface", cursive;
width: 100%;
}

.title1 {
Expand Down Expand Up @@ -378,9 +416,10 @@ body {
}

/* Footer Section Starts */
.section{
/*.section{
background-color: black;
}
enhancing it a bit more
}*/
.wrapper{
text-align: center;
}
Expand Down
15 changes: 10 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,25 @@
<span class="slider"></span>
</label>
<body>

<div class="scrollToTopContainer">
<a href="#" onclick="topFunction()" class="scrollToTopButton" id="myBtn"><i class="fa-solid fa-upload"></i></a>
</div>

<header class="showcase">
<div class="content">
<img src="https://i.postimg.cc/Vvq7LzyY/White-logo-transparent-bg.png" class="logo" alt="Traversy Media" />
<div class="title">CODE CANVAS</div>
<div class="text">Bootstrap your Code Fantasies into Reality</div>

<img src="https://i.postimg.cc/Vvq7LzyY/White-logo-transparent-bg.png" alt="Traversy Media" class="logo" />

<div class="title"><p class="headsec">CODE CANVAS</p></div>
<div class="text"><p class="note">Bootstrap your Code Fantasies into Reality</p></div>
<br />
</div>
</div>


</header>

<!-- Services -->
<section class="services">
<div class="container grid-3 center">
Expand Down