Skip to content
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
52 changes: 51 additions & 1 deletion project-4/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,54 @@ body{
}
.y{
color:rgba(255,0,0,0.3);
}
}
nav {
display:flex;
flex-direction: row;
justify-content: center;
align-items: center;
min-height: 8vh ;
/* width:100vw; */
/*background-color: rgb(87, 84, 84);*/
background-color: rgba(163, 4, 79, 0.747);
/* overflow: hidden; */
/* position: fixed; */
/* top: 0; */
/* opacity: 0.1; */


}
h3{
color:rgba(5, 5, 5, 0.911);
font-size: 22px;
}



.links {
display: flex;
flex-direction: row;
align-items: center;
width: 45%;
justify-content: space-around;

}
.links li {
list-style: none;
/* transition: transform .2s; */
}
.links a {
text-decoration:none ;
font-size: 25px;
color:rgb(255, 250, 250);
opacity: 0.7;
font-family: 'Alegreya Sans SC';
transition: transform .5s;
font-weight: lighter;
}


.links a:hover {
color:rgb(0, 0, 0);
font-weight: bold;
}
1 change: 1 addition & 0 deletions project-4/bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 18 additions & 4 deletions project-4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="bootstrap.css">
<link rel="stylesheet" type="text/css" href="app.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

</head>
<body>


<nav class="navbar navbar-expand-md navbar-light b">
<!-- <nav class="navbar navbar-expand-md navbar-light b">
<a class="navbar-brand" href="#">CANDY</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarText"
aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
Expand All @@ -28,7 +29,20 @@


</div>
</nav>
</nav> -->
<nav class="sticky">
<!-- <div class="lside">
<h3><a href="#s5"><i style="font-size:24px; color:black;" class="fa">&#xf0e0;</i></a></h3>
</div> -->
<ul class="links">
<li><a href="#s1">HOME</a></li>
<li><a href="#s2">ABOUT</a></li>
<li><a href="#s3">TICKETS</a></li>

</ul>

</nav>
<body>

<div class="container-fluid px-0">
<div class="row align-items-center">
Expand All @@ -41,7 +55,7 @@ <h1 class="text-center">MUSEUM <span class="a">/</span>OF<span class="a">/</span
<h1 class="text-center">MUSEUM <span class="a">/</span>OF<span class="a">/</span> CANDY</h1>
</div>
<div class="col-md-6 ">
<img class="img-fluid float-right img-thumbnail" src="https://images.unsplash.com/photo-1575224300306-1b8da36134ec?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60">
<img class="img-fluid float-right img-thumbnail" src="https://images.unsplash.com/photo-1575224300306-1b8da36134ec?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60 " >
</div>
</div>

Expand Down