Skip to content
This repository has been archived by the owner on Oct 26, 2020. It is now read-only.

Week 2 amanul #78

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
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
228 changes: 228 additions & 0 deletions week1/3-website/css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,228 @@
@font-face{
font-family: PermanentMarker-Regular;
src: url(../fonts/Permanent_Marker/PermanentMarker-Regular.ttf);
}

@font-face{
font-family: Righteous-Regular;
src: url(../fonts/Righteous/Righteous-Regular.ttf);
}

body{
margin: 0;
padding: 0;
box-sizing: border-box;
}

#container{
width: 100%;
height: 500px;
margin-left: auto;
margin-right: auto;
}

.wrapper{
background-image: url(../images/carbon-texture.jpg);
width: 100%;
border-top: 4px solid #333;
border-bottom: 4px solid #333;
margin-left: auto;
margin-right: auto;
}

.main-title{
display: inline-block;
color: antiquewhite;
margin-left: 45px;
margin-top: auto;
margin-bottom: auto;
padding: 5px;
border: 5px solid #333;
border-radius: 10px;
background-color: black;
font-family: Righteous-Regular;
font-size: 35px;
}

.header-img{
display: block;
width: 250px;
height: 100px;
}

.header-nav{
display: flex;
justify-content: flex-end;
align-items: flex-end;
margin-right: 100px;
}

.nav-link{
display: inline-flex;
justify-content: space-evenly;
align-items: center;
margin-right: 50px;
}

.nav-link a{
padding: 5px;
border: 5px solid #333;
border-radius: 10px;
background-color: black;
color: antiquewhite;
text-decoration: none;
font-family: Righteous-Regular;
font-size: 20px;
}

/* --------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------Header------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------- */

.article{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 50px;
font-family: PermanentMarker-Regular;
font-size: 20px;
text-decoration: underline;
}

.article-img{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.article-img img{
width: 400px;
height: 400px
}

/* --------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------Home------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------- */

.about-title{
display: flex;
justify-content: center;
align-items: center;
margin-top: 150px;
font-family: PermanentMarker-Regular;
font-size: 40px;
text-decoration: underline;
}

.about-paragraph{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-left: 50px;
font-family: Righteous-Regular;
}

.more-about-paragraph{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-left: 100px;
margin-top: 50px;
font-family: Righteous-Regular;
}

/* --------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------About Us------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------- */

.vlog-title{
display: flex;
justify-content: center;
align-items: center;
margin-top: 150px;
font-family: PermanentMarker-Regular;
font-size: 40px;
text-decoration: underline;
}

.vlog-info{
display: flex;
justify-content: center;
align-items: center;
margin-top: 100px;
font-family: Righteous-Regular;
font-size: 20px;
}

.video-div{
display: flex;
justify-content: center;
align-items: center;
margin-top: 30px;
}

/* --------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------Vlogs------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------- */

.footer{
background-image: url(../images/carbon-texture.jpg);
width: 100%;
border-top: 4px solid #333;
border-bottom: 4px solid #333;
margin-top: 150px;
margin-left: auto;
margin-right: auto;
}

#footer-nav{
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: flex-end;
}

.nav-link-footer{
display: inline-flex;
justify-content: space-evenly;
align-items: center;
margin-right: 50px;
}

.nav-link-footer a{
padding: 5px;
border: 5px solid #333;
border-radius: 10px;
background-color: black;
color: antiquewhite;
text-decoration: none;
font-family: Righteous-Regular;
font-size: 20px;
}

.footer-info{
margin-right: 50px;
margin-left: 50px;
margin-bottom: 10px;
border: 5px solid #333;
border-radius: 10px;
background-color: black;
}

.footer-paragraph{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
font-family: Righteous-Regular;
font-size: 20px;
color: antiquewhite;
}

/* --------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------Footer------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------- */
Loading