Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respsonsive #20

Open
wants to merge 3 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
Empty file added about.html
Empty file.
Empty file added contact.html
Empty file.
3,272 changes: 3,272 additions & 0 deletions css/animate.css

Large diffs are not rendered by default.

585 changes: 585 additions & 0 deletions css/base.css

Large diffs are not rendered by default.

133 changes: 133 additions & 0 deletions css/layout.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
/* GRID OF TWELVE ============================================================================= */

.span_12_of_12 {
width: 100%;
}

.span_11_of_12 {
width: 91.53%;
}

.span_10_of_12 {
width: 83.06%;
}

.span_9_of_12 {
width: 74.6%;
}

.span_8_of_12 {
width: 66.13%;
}

.span_7_of_12 {
width: 57.66%;
}

.span_6_of_12 {
width: 49.2%;
}

.span_5_of_12 {
width: 40.73%;
}

.span_4_of_12 {
width: 32.26%;
}

.span_3_of_12 {
width: 23.8%;
}

.span_2_of_12 {
width: 15.33%;
}

.span_1_of_12 {
width: 6.86%;
}


/* GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
.span_12_of_12 {
width: 100%;
}
.span_11_of_12 {
width: 100%;
}
.span_10_of_12 {
width: 100%;
}
.span_9_of_12 {
width: 100%;
}
.span_8_of_12 {
width: 100%;
}
.span_7_of_12 {
width: 100%;
}
.span_6_of_12 {
width: 100%;
}
.span_5_of_12 {
width: 100%;
}
.span_4_of_12 {
width: 100%;
}
.span_3_of_12 {
width: 100%;
}
.span_2_of_12 {
width: 100%;
}
.span_1_of_12 {
width: 100%;
}
}

/* SECTIONS ============================================================================= */

.section {
clear: both;
padding: 0px;
margin: 0px;
}

/* GROUPING ============================================================================= */


.group:before,
.group:after {
content:"";
display:table;
}
.group:after {
clear:both;
}
.group {
zoom:1; /* For IE 6/7 (trigger hasLayout) */
}

/* GRID COLUMN SETUP ==================================================================== */

.col {
display: block;
float:left;
margin: 1% 0 1% 1.6%;
}

.col:first-child { margin-left: 0; } /* all browsers except IE6 and lower */


/* REMOVE MARGINS AS ALL GO FULL WIDTH AT 480 PIXELS */

@media only screen and (max-width: 480px) {
.col {
margin: 1% 0 1% 0%;
}
}
60 changes: 60 additions & 0 deletions css/module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*phones*/
@media(min-width: 300px){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Convert to em's


/*header*/
header{
display: block;
}
/*body*/
img{
display: none;
}
.article__header--form{
display: block;
height: 10%;
}
.article__header--paragraph{
font-size: .625em;
}

}
/*tablets*/
@media(min-width: 768px){
.container{
display:flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
}
/*body*/
img{
display: none;
}
.article__header--form{
display: block;
height: 50%;
}
.article__header--paragraph{
font-size: 2.618em;
}

}
/*Desktop*/
@media(min-width: 1200px){

/*header*/
.nav__link{
padding: 15px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

convert to em's

text-decoration: none;
}

/*body*/

.article__header--img{
height: 3.375em;
}

}
article:nth-child(odd){
background-color: #9CC4FF;
opacity: 0.5;
50 changes: 50 additions & 0 deletions css/states.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
a:hover{
border-bottom: 10px;
border-bottom: 1px solid white;
/*animation*/
-webkit-animation-name: pulse;
animation-name: pulse;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}

@-webkit-keyframes pulse {
0% {
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}

50% {
-webkit-transform: scale3d(1.05, 1.05, 1.05);
transform: scale3d(1.05, 1.05, 1.05);
}

100% {
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}
}

@keyframes pulse {
0% {
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}

50% {
-webkit-transform: scale3d(1.05, 1.05, 1.05);
transform: scale3d(1.05, 1.05, 1.05);
}

100% {
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}
}

/*pulse {
-webkit-animation-name: pulse;
animation-name: pulse;
}*/
Binary file added fonts/RobotoMono-Regular.ttf
Binary file not shown.
Binary file added fonts/icomoon.eot
Binary file not shown.
14 changes: 14 additions & 0 deletions fonts/icomoon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/icomoon.ttf
Binary file not shown.
Binary file added fonts/icomoon.woff
Binary file not shown.
Binary file added fonts/lato-bold.eot
Binary file not shown.
Loading