Skip to content
Open

Done #208

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
64 changes: 64 additions & 0 deletions css/responsive.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
@media only screen and (max-width: 1100px) {
.wrapper {
width: 90%
}
#social {
position: absolute;
width: auto;
top: 82px;
right: 4px;
}
}

@media only screen and (max-width: 900px) {
body {
font-size: 85%;
}
#logo h1 {
width: 35px;
height: 35px;
}
#logo h1 {
font-size: 2.2em;
}
#social {
top: 72px;
}
.col-3 p {
-moz-column-count: 2;
-webkit-column-count: 2;
column-count: 2;
}
}

@media only screen and (max-width: 750px) {
#navbar nav a {
font-size: 0.9em;
}
.col-3 p {
-moz-column-count: 1;
-webkit-column-count: 1;
column-count: 1;
}
.col-1, .col-2, .col-3{
width: 100%;
margin-left: 0;
float: none;
}
.border-right {
border:0;
}
#details div{
height: auto;
}
}

@media only screen and (max-width: 700px) {
#navbar nav a{
display:none;
}

#navbar nav a.menu-icon {
display: block;
}
}
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport", content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
<title>Exceptional Realty Group - Luxury Homes - About</title>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.0/normalize.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/responsive.css">
<script src="http://cdnjs.cloudflare.com/ajax/libs/modernizr/2.7.1/modernizr.min.js"></script>
</head>
<body>
Expand All @@ -13,7 +15,7 @@
<a class="fbook" href="#" title="Facebook">Facebook</a>
<a class="gplus" href="#" title="Google Plus">Google Plus</a>
</div>

<div class="white-wood">
<header class="medium-fade shadow">
<div class="wrapper">
Expand Down Expand Up @@ -45,7 +47,7 @@ <h2>Exceptional Realty Group</h2>
<section id="promotional" class="col-2 first shadow">
<figure>
<video controls>
<source src="videos/real-estate.mp4" type="video/mp4">
<source src="videos/real-estate.mp4" type="video/mp4">
<source src="videos/real-estate.ogv" type="video/ogg">
Your browser does not support HTML5 video. <a href="http://browsehappy.com" target="_blank">Please upgrade your browser</a>.
</video>
Expand All @@ -57,7 +59,7 @@ <h2>Exceptional Realty Group</h2>
<h3>Company News</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatum, inventore, vero, rerum ullam nihil sapiente tempora molestias quis ducimus ipsum laborum vel. Tempore perspiciatis ea error dignissimos libero recusandae explicabo.</p>
</section>

</div><!-- .wrapper -->
</div><!-- .white-wood -->

Expand Down