Skip to content

Commit

Permalink
added account
Browse files Browse the repository at this point in the history
  • Loading branch information
Simen Wang authored and Simen Wang committed Mar 11, 2024
1 parent 2419163 commit da26919
Show file tree
Hide file tree
Showing 2 changed files with 202 additions and 0 deletions.
164 changes: 164 additions & 0 deletions css/account.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
font-family: "Poppins", sans-serif;
margin: 0;
padding: 0;
scroll-padding-top: 2rem;
scroll-behavior: smooth;
box-sizing: border-box;
list-style: none;
text-decoration: none;
}

:root {
--main-color: rgb(116, 116, 116);
--text-color: #020202;
--bg-color: #fff;
}

img {
width: 100%;
}

body {
color: var(--text-color)
}

.container {
max-width: 1068px;
margin: auto;
width: 100%;
}

.top-info {
background-color: lightgray;
}

.top {
display: flex;
max-width: 1300px;
top: 0;
left: 0;
color: #020202;
text-decoration: none;
justify-content: flex-end;
flex-direction: row;
}

.top ul {
display: flex;
align-items: center;
}

.top li {
padding: 0 10px;
}

.top a {
color: black;
border-right: 1px solid gray;
padding-right: 15px;
transition: .4s;
}

.top a:hover {
color: rgb(134, 134, 134);
border-right: 1px solid gray;
padding-right: 15px;
}

header {
position: relative;
top: 0;
left: 0;
width: 100%;
background: var(--bg-color);
box-shadow: 0 1px 4px hsl(0, 4%, 15% / 10%);
background-color: white;
}

header img {
height: auto;
width: 50px;
}

.nav {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 0;
}
#scroll-container {
border-radius: 5px;
height: 50px;
overflow: hidden;
}

#scroll-text {
height: 100%;
text-align: center;
line-height: 50px; /* Add this line to vertically center the text */

-moz-transform: translateY(100%);
-webkit-transform: translateY(100%);
transform: translateY(100%);

-moz-animation: my-animation 5s linear infinite;
-webkit-animation: my-animation 5s linear infinite;
animation: my-animation 5s linear infinite;
}

@-moz-keyframes my-animation {
from { -moz-transform: translateY(100%); }
to { -moz-transform: translateY(-100%); }
}

@-webkit-keyframes my-animation {
from { -webkit-transform: translateY(100%); }
to { -webkit-transform: translateY(-100%); }
}

@keyframes my-animation {
from {
-moz-transform: translateY(100%);
-webkit-transform: translateY(100%);
transform: translateY(100%);
}
to {
-moz-transform: translateY(-100%);
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
}
}

.general {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
}

.general img {
object-fit: cover;
width: 100%;
height: 100%;
}

.text-overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: white;
}

.text-overlay h1 {
font-size: 70px;
margin-bottom: 16px;
}

.text-overlay h2 {
font-size: 50px;
}
38 changes: 38 additions & 0 deletions html/account.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="../images/pngimg.com - muscle_PNG3.png" type="x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FormGull</title>
<link rel="stylesheet" href="../css/styleinfo.css">
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
</head>
<body>

<div class="top-info">
<div class="top">
<ul>
<li><a href="login.html">Your Account</a></li>
<li><a href="#">Help</a></li>
<li><a href="#">Support</a></li>
<li><a href="#">Blog</a></li>
</ul>
</div>
</div>

<header>
<div class="nav container">
<a href="#" class="logo" style="color: black;"><img src="../images/logo-no-background.png" alt=""></a>
<a href="#" style="color: black;">WOMEN</a>
<a href="#" style="color: black;">MEN</a>
<a href="#" style="color: black;">ACCESSORIES</a>
<i class='bx bxs-shopping-bag'></i>

</div>
</header>


<script src="../javascript/script.js"></script>
</body>
</html>

0 comments on commit da26919

Please sign in to comment.