-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
251 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,177 @@ | ||
*{ | ||
padding: 0; | ||
margin: 0; | ||
text-decoration: none; | ||
list-style: none; | ||
box-sizing: border-box; | ||
} | ||
body{ | ||
font-family: montserrat; | ||
background-color: #E7E4D6; | ||
} | ||
nav{ | ||
background: orange; | ||
height: 80px; | ||
width: 100%; | ||
} | ||
label.logo{ | ||
color: black; | ||
font-size: 35px; | ||
line-height: 80px; | ||
padding: 0 100px; | ||
font-weight: bold; | ||
} | ||
nav ul{ | ||
float: right; | ||
margin-right: 20px; | ||
} | ||
nav ul li{ | ||
display: inline-block; | ||
line-height: 80px; | ||
margin: 0 5px; | ||
} | ||
nav ul li a{ | ||
color: black; | ||
font-size: 17px; | ||
font-weight: bold; | ||
padding: 7px 13px; | ||
border-radius: 3px; | ||
} | ||
|
||
active,a:hover{ | ||
background: #1b9bff; | ||
transition: .5s; | ||
} | ||
.checkbtn{ | ||
font-size: 30px; | ||
color: black; | ||
float: right; | ||
line-height: 80px; | ||
margin-right: 40px; | ||
cursor: pointer; | ||
display: none; | ||
} | ||
#check{ | ||
display: none; | ||
} | ||
@media (max-width: 952px){ | ||
label.logo{ | ||
font-size: 30px; | ||
padding-left: 50px; | ||
} | ||
nav ul li a{ | ||
font-size: 16px; | ||
} | ||
} | ||
@media (max-width:858px){ | ||
.checkbtn{ | ||
display: block; | ||
} | ||
ul{ | ||
position: fixed; | ||
width: 100%; | ||
height: 100vh; | ||
background: #E7E4D6; | ||
top: 80px; | ||
left: -100; | ||
text-align: center; | ||
transition: all .5s; | ||
} | ||
nav ul li{ | ||
display: block; | ||
margin: 50px 0; | ||
line-height: 30px; | ||
} | ||
nav ul li a{ | ||
font-size: 20px; | ||
} | ||
a:hover,a.active{ | ||
background: none; | ||
color:#0082e6 | ||
} | ||
#check:checked ~ ul{ | ||
left: 0; | ||
} | ||
} | ||
h1{ | ||
font-size: 60px; | ||
font-weight: bolder; | ||
margin-top: 240px; | ||
margin-left: 220px; | ||
letter-spacing: 4px; | ||
font-family: "Andada Pro", sans-serif | ||
} | ||
h2{ | ||
font-size: 40px; | ||
font-weight: bold; | ||
margin-top: 10px; | ||
margin-left: 220px; | ||
word-spacing: 4px; | ||
font-family: "Andada Pro", sans-serif | ||
} | ||
h3{ | ||
font-size: 30px; | ||
font-weight: lighter; | ||
margin-left: 220px; | ||
margin-top: 15px; | ||
word-spacing: 4px; | ||
font-family: "Andada Pro", sans-serif | ||
} | ||
.frame{ | ||
height: 480px; | ||
width: 430px ; | ||
position: absolute; | ||
top: 20%; | ||
right: 175px; | ||
background-color: transparent; | ||
border: 2px solid black; | ||
padding: 20px; | ||
border-radius: 20px; | ||
border-width: 4px; | ||
} | ||
.frame img { | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
max-width: 50%; | ||
max-height: 60%; | ||
} | ||
.circle { | ||
position: absolute; | ||
top: 40%; | ||
left: 45%; | ||
transform: translate(-50%, -50%); | ||
width: 200px; | ||
height: 200px; | ||
background-color: orange; | ||
border-radius: 50%; | ||
z-index: 0; | ||
} | ||
.text { | ||
position: absolute; | ||
bottom: 45px; | ||
left: 50%; | ||
transform: translateX(-50%); | ||
text-align: center; | ||
font-size: 20px; | ||
font-weight: bold; | ||
color: black; | ||
font-family: "Andada Pro", sans-serif | ||
} | ||
.last{ | ||
/* display: flex; */ | ||
background-color: orange; | ||
width: 100%; | ||
bottom: 0; | ||
height: 100px; | ||
margin-top: 16%; | ||
border: none; | ||
display: flex; | ||
align-items: center; | ||
} | ||
.phoneicon{ | ||
margin-right: 60px; | ||
font-size: 20px; | ||
font-weight: lighter; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" dir="ltr"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Responsive web design</title> | ||
<meta name="viewport" content="width=device-width, initial- | ||
scale=1.0"> | ||
<link rel="stylesheet" href="index.css"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> | ||
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script> | ||
<style> | ||
@font-face { | ||
font-family: "Andada Pro"; | ||
src: url("fonts/andada-pro-regular.ttf") format("truetype"); | ||
} | ||
</style> | ||
|
||
</head> | ||
<body> | ||
<nav> | ||
<input type="checkbox" id="check"> | ||
<label for="check" class="checkbtn"> | ||
<i class="fa-solid fa-bars" style="color: #00040a;"></i> | ||
</label> | ||
<label class="logo">Rabtens</label> | ||
<ul> | ||
<li><a class="active" href="#">Home</a></li> | ||
<li><a href="aboutme.html">About me</a></li> | ||
<li><a href="resume.html">Resume</a></li> | ||
</ul> | ||
</nav> | ||
|
||
<h1>Hello!</h1> | ||
<h2>My name is Kuenzang Rabten.</h2> | ||
<h3>Currently pursuing Bachelors <br>of Engineering in <br>Software Engineering.</h3> | ||
<button class="frame"> | ||
<div class="circle"></div> | ||
<img src="sticker (2).webp" alt="Image Description"> | ||
<div class="text">“I can do whatever I <br>want to do today.”</div> | ||
</button> | ||
<button class="last"> | ||
<div class="phoneicon"> | ||
<i class="fa-solid fa-phone fa-flip" style="color: #00040a;"></i> | ||
<span>+975 - 77306194</span> | ||
</div> | ||
<div class="phoneicon"> | ||
<i class="fa-brands fa-github fa-beat" style="color: #010813;"></i> | ||
<span>Rabtens</span> | ||
</div> | ||
<div class="phoneicon"> | ||
<i class="fa-solid fa-envelope fa-beat" style="color: #000000;"></i> | ||
<span>rabtenkuenzang232@gmail.com</span> | ||
</div> | ||
<div class="phoneicon"> | ||
<i class="fa-solid fa-location-dot fa-beat" style="color: #010204;"></i> | ||
<span>Gedu College of Business Studies</span> | ||
</div> | ||
<div class="phoneicon"> | ||
<i class="fa-brands fa-twitter fa-beat" style="color: #00040a;"></i> | ||
<span>@RabtenKuenzang</span> | ||
</div> | ||
<div class="phoneicon"> | ||
<i class="fa-brands fa-instagram fa-beat" style="color: #00060f;"></i> | ||
<span>rabtens_12345</span> | ||
</div> | ||
<div class="phoneicon"> | ||
<i class="fa-brands fa-facebook fa-beat" style="color: #00040a;"></i> | ||
<span>Kuenzang Rabten</span> | ||
</div> | ||
</button> | ||
</body> | ||
</html> | ||
|
||
|