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
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ Notes:
- Look up `@media for tablet` (css).


### The website look like this on website
<img src="./images/Our App.png" data-canonical-src="./images/beforeMobile01.png" width="600" height="300" />


### The website look like this before add @mdeia when they open it on mobile
<img src="./images/beforeMobile01.png" data-canonical-src="./images/beforeMobile01.png" width="300" height="500" />
<img src="./images/beforeMobile02.png" data-canonical-src="./images/beforeMobile02.png" width="300" height="500" />
Expand Down
Binary file removed images/Our App.png
Binary file not shown.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>Our App</title>
<link rel="stylesheet" href="style/main.css">
<link rel="stylesheet" href="style/style.css">
<meta name="viewport" content="width=width-device, initial-scale=1.0">
</head>
<body>
Expand Down Expand Up @@ -34,7 +34,7 @@ <h5>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tem

<!-- main -->
<main>
<h1>Services</h1>
<h1 class="services">Services</h1>
<!-- box of services -->


Expand Down
163 changes: 163 additions & 0 deletions style/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
html, body {
margin:0;
padding: 0;
height:100%;
}


header{
background-image: url(../images/HeaderBackground1920x1280.jpg);
background-size: cover;
height:500px ;
}
ul{
color: white;
font-weight: bold;
font-size: 20px;
list-style-type:none;
display: flex;
justify-content: end;

}
li{
padding: 20px;
}

main {
text-align: center;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}

main>h1{
flex-direction: column;
flex: 0 1 100%;
}
main>div{
flex: 1 0 10%;
}

.introduction{
color: white;
font-size:20px;
display: flex;
flex-direction: column;
align-items: center;
margin: 100px;

}
#logo{
margin: 0;
padding: 0;
color: red;
}
.part-services{
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
}

.services-content{
padding-left: 5%;
padding-right: 5%;
text-align: justify;
}

a:link {
color: white;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: white;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: white;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: white;
background-color: transparent;
text-decoration: underline;
}
/* mobile view */
@media only screen and (max-width: 720px) {

html, body {
margin:0;
padding: 0;

height:100%;
}


header{
background-image: url(../images/HeaderBackground1920x1280.jpg);
width:100%;
height:100%;

}
ul{
color: white;
font-weight: bold;
font-size: 20px;
list-style-type:none;
display: flex;
flex-direction: column;
align-items: center;
}
main{
display: flex;
flex-direction: column;
align-items: center;
}


.introduction{
color: white;
margin-left: 30px;

}
#logo{
margin-left:20px;
color: red;
}
.part-services{
display: flex;
flex-direction: column;
align-items: center;
}

.services-content{
padding-left: 5%;
padding-right: 5%;
text-align: justify;
;}

a:link {
color: white;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: white;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: white;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: white;
background-color: transparent;
text-decoration: underline;
}

}