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
175 changes: 134 additions & 41 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,36 @@
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');


* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
}

.row {
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
}
#profile img {
display: block;
width: 50%;
margin: 0 25%;
}
#profile p {
margin: 20px;
color: grey;
font-size: 14px;
line-height: 1.5;
text-align: justify;
}
.title {
text-align: center;
padding: 10px;
}

body{
Expand Down Expand Up @@ -36,45 +63,111 @@ body{

/* responsive media queries */
/* For mobile phones: */
[class*="col-"] {
[class*='col-'] {
width: 100%;
}

@media only screen and (min-width: 600px) {
/*larger than 601px - 768px*/
#profile p {
font-size: 1.7em;
}
#profile img {
width: 45%;
margin: 0 auto;
}
.title {
font-size: 2.5rem;
}
/* For tablets: */
.col-s-1 {width: 8.33%;}
.col-s-2 {width: 16.66%;}
.col-s-3 {width: 25%;}
.col-s-4 {width: 33.33%;}
.col-s-5 {width: 41.66%;}
.col-s-6 {width: 50%;}
.col-s-7 {width: 58.33%;}
.col-s-8 {width: 66.66%;}
.col-s-9 {width: 75%;}
.col-s-10 {width: 83.33%;}
.col-s-11 {width: 91.66%;}
.col-s-12 {width: 100%;}
#profile p{ font-size: 1.7em;}
#profile img {width: 40%; margin: 0 30%}
.title{font-size: 2.5em;}
}
@media only screen and (min-width: 769px) {
/*anything beyoud 769px*/

.col-s-1 {
width: 8.33%;
}
.col-s-2 {
width: 16.66%;
}
.col-s-3 {
width: 25%;
}
.col-s-4 {
width: 33.33%;
}
.col-s-5 {
width: 41.66%;
}
.col-s-6 {
width: 50%;
}
.col-s-7 {
width: 58.33%;
}
.col-s-8 {
width: 66.66%;
}
.col-s-9 {
width: 75%;
}
.col-s-10 {
width: 83.33%;
}
.col-s-11 {
width: 91.66%;
}
.col-s-12 {
width: 100%;
}
}
@media only screen and (min-width: 770px) {
/* For desktop: */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
.container{margin: 0px 150px;}
#profile img{width: 70%; margin: 0 15%;}
#profile p{font-size: 1.2em;}
}
.col-1 {
width: 8.33%;
}
.col-2 {
width: 16.66%;
}
.col-3 {
width: 25%;
}
.col-4 {
width: 33.33%;
}
.col-5 {
width: 41.66%;
}
.col-6 {
width: 50%;
}
.col-7 {
width: 58.33%;
}
.col-8 {
width: 66.66%;
}
.col-9 {
width: 75%;
}
.col-10 {
width: 83.33%;
}
.col-11 {
width: 91.66%;
}
.col-12 {
width: 100%;
}
.row {
justify-content: space-evenly;
}
.container {
margin: 0 15px;
}
#profile img {
width: 70%;
margin: 0 15%;
}
#profile p {
font-size: 1.2rem;
}
}


61 changes: 34 additions & 27 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,32 +1,39 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>Portfolio Page</title>
</head>
<body>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="./css/style.css" />
</head>
<body>
<header></header>
<section id="profile">
<h1 class="title">Nandini Nayak</h1>
<div class="row container">
<div class="col-4 col-s-12">
<img src="img/profile.jpg" alt="profile-pic">
</div>
<div class="col-8 col-s-12">
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nemo beatae dolores eveniet, ducimus exercitationem velit dolore eius quis incidunt aut minima, porro consequatur fugit, similique ratione tempore distinctio! Animi, earum. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Culpa possimus ducimus tempora odio veniam delectus, totam consequuntur tempore, itaque explicabo a dolorum accusantium ullam placeat reprehenderit, quo reiciendis porro necessitatibus!</p>
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Id ipsa vel deleniti sit? Magni facilis excepturi molestias rerum aliquid. Alias facere voluptas officiis sint veniam dolorum veritatis cupiditate autem iste.</p>
</div>
</div>
</section>
<section id="projects"></section>
<section id="skills"></section>
<footer>
<div class="contact">

<section id="profile">
<h1 class="title">saman fayazi</h1>
<div class="row container">
<div class="col-4">
<img src="./img/profile.jpg" alt="" />
</div>
<div class="col-8">
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. A sequi
aliquam temporibus, modi nobis natus. Eos maiores similique ducimus
voluptatibus.
</p>
<p>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quibusdam
aut incidunt veritatis aspernatur assumenda ipsa! Sequi officiis
nemo adipisci aspernatur deserunt quod sed amet accusantium! Rem
velit iusto ex repudiandae.
</p>
</div>
</div>
</section>
<section id="project"></section>
<section id="skills"></section>
<footer>
<div class="contacts"></div>
</footer>
</body>
</html>
</body>
</html>