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
Empty file added .github/.keep
Empty file.
124 changes: 122 additions & 2 deletions ex-1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,135 @@
<html lang="en">

<head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,700,0,200" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<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" href="style.css" />
<title>Responsive Web Design - Ex 2</title>
</head>

<body>
<!-- Start coding here -->
<body>
<div class="container">
<div class="header">
<div>Browse by</div>
<div class="highlight">Job<span> Categories</span></div>
</div>
<div class="content">
<div id="box" class="digmk">
<div class="icon">
<span class="material-symbols-outlined">
campaign
</span>
</div>
<div class="subhead">Digital Marketing</div>
<div class="detail">XXX jobs opened</div>
<div class="arrow">
<span class="material-symbols-outlined">
arrow_forward
</span>
</div>
</div>
<div id="box" class="atde">
<div class="icon">
<span class="material-symbols-outlined">
palette
</span>
</div>
<div class="subhead">Art & Design</div>
<div class="detail">XXX jobs opened</div>
<div class="arrow">
<span class="material-symbols-outlined">
arrow_forward
</span>
</div>
</div>
<div id="box" class="acct">
<div class="icon">
<span class="material-symbols-outlined">
attach_money
</span>
</div>
<div class="subhead">Accounting</div>
<div class="detail">XXX jobs opened</div>
<div class="arrow">
<span class="material-symbols-outlined">
arrow_forward
</span>
</div>
</div>
<div id="box" class="phtg">
<div class="icon">
<span class="material-symbols-outlined">
photo_camera
</span>
</div>
<div class="subhead">Photography</div>
<div class="detail">XXX jobs opened</div>
<div class="arrow">
<span class="material-symbols-outlined">
arrow_forward
</span>
</div>
</div>
</div>
<div class="content2">
<div id="box" class="cpywrt">
<div class="icon">
<span class="material-symbols-outlined">
edit_document
</span>
</div>
<div class="subhead">Copy Writing</div>
<div class="detail">XXX jobs opened</div>
<div class="arrow">
<span class="material-symbols-outlined">
arrow_forward
</span>
</div>
</div>
<div id="box" class="music">
<div class="icon">
<span class="material-symbols-outlined">
headphones
</span>
</div>
<div class="subhead">Music</div>
<div class="detail">XXX jobs opened</div>
<div class="arrow">
<span class="material-symbols-outlined">
arrow_forward
</span>
</div>
</div>
<div id="box" class="hr">
<div class="icon">
<span class="material-symbols-outlined">
groups
</span>
</div>
<div class="subhead">Human Resources</div>
<div class="detail">XXX jobs opened</div>
<div class="arrow">
<span class="material-symbols-outlined">
arrow_forward
</span>
</div>
</div>
<div class="explore">
<div class="ex-subhead">Explore <br>30 More <br>Categories</div>
<div class="arrowex">
<span class="material-symbols-outlined">
arrow_forward
</span>
</div>
</div>

</div>
</div>
</body>

</html>
151 changes: 150 additions & 1 deletion ex-1/style.css
Original file line number Diff line number Diff line change
@@ -1 +1,150 @@
/* Start coding here */
:root {
--branding-color: #ff8345;
--background-branding-color: #ff83454f;
--box-border-color: rgba(128, 128, 128, 0.483);
--background-hover-color: rgba(187, 187, 187, 0.509);
--box-height: 268px;
--box-width: 333px;
--header-color: #183b56;
--text-margin: 10px;

}
body{
box-sizing: border-box;
font-family: "Poppins";
display: flex;
align-items: center;
justify-content: center;
}
.container {
margin: 20px;
height: fit-content;
width: fit-content;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
}
.header{
position: relative;
z-index: 2;
color: var(--header-color);
font-weight: 800;
font-size: 35px;
width: 312px;
height: 100px;
text-align: center;
text-shadow: 2px 2px 5px rgba(255,131,69,0.79);
margin: var(--text-margin);
}
/
.highlight{
position: relative;
display: inline-block;
}
.highlight::before {
content: "";
position: absolute;
bottom: 5px;
left: 20px;
width: 70px;
height: 10px;
background-color: var(--background-branding-color);
z-index: -1;
}
.content {
display: flex;
flex-direction: row;
width: fit-content;
height: fit-content;
justify-content: center;
align-items: center;
flex-wrap: wrap;

}
.content2 {
display: flex;
flex-direction: row;
width: fit-content;
height: fit-content;
justify-content: center;
align-items: center;
flex-wrap: wrap;

}
.explore {
position: relative;
margin: 5px;
display: flex;
flex-direction: column;
justify-content: center;
width: var(--box-width);
height: var(--box-height);
border: 1px solid var(--branding-color);
}
#box {
position: relative;
margin: 5px;
display: flex;
flex-direction: column;
justify-content: flex-end;
width: var(--box-width);
height: var(--box-height);
border: 1px solid var(--box-border-color);
}

.subhead {
font-weight: 600;
font-size: 26px;
margin: var(--text-margin);
}
.detail {
margin: var(--text-margin);
}
.explore {
background-color: var(--branding-color);
}
.ex-subhead {
color: white;
margin: 50px;
font-size: 30px;
font-weight: 600;
}
#box:hover {
background-color: var(--background-hover-color);
.icon{background-color: var(--branding-color);
color: white;
box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.21);
}
}
.icon{
position: absolute;
bottom: 170px;
left: 50px;
display: flex;
color: var(--branding-color);
background-color: var(--background-branding-color);
height: 50px;
width: 50px;
border-radius: 100%;
justify-content: center;
align-items: center;
scale: 2;
}
.arrow {
position: absolute;
top: 240px;
left: 280px;
cursor: pointer;
}
.arrow:hover{
background-color: var(--background-hover-color);
border-radius: 100%;
}
.arrowex {
position: absolute;
left: 280px;
color: white;
cursor: pointer;
}