Created
June 21, 2015 17:09
-
-
Save backy22/e4dacad428f59e7212e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "utf-8"; | |
/*共通の設定*/ | |
body { | |
font-family: Arial, Vredana, sans-serif; | |
width:95%; | |
margin: 0 auto; | |
} | |
#header { | |
background: | |
} | |
#footer { | |
background: green; | |
} | |
#container { | |
} | |
#main { | |
background: orange; | |
} | |
#sub { | |
background: yellow; | |
} | |
#footerNavLink { | |
float:right; | |
} | |
#headerNav ul{ | |
list-style: none; | |
overflow: hidden; | |
} | |
#headerNav li { | |
float: left; | |
width:33%; | |
text-align: center; | |
} | |
img { | |
max-width: 100% | |
} | |
.movie{ | |
position: relative; | |
height: 0; | |
padding-top:56.25%; | |
} | |
iframe { | |
height: 100%; | |
position: absolute; | |
left: 0; | |
top: 0; | |
width: 100%; | |
} | |
/*スマホのスタイル*/ | |
#headerNav { | |
display: none; | |
} | |
/*タブレットのスタイル*/ | |
@media all and (min-width: 480px){ | |
#footerNavLink{ | |
display: none; | |
} | |
#headerNav{ | |
display: block; | |
} | |
#footerNav{ | |
display: none; | |
} | |
} | |
/*PCのスタイル*/ | |
@media all and (min-width: 768px){ | |
#container { | |
overflow: hidden; | |
} | |
#main { | |
float: left; | |
width:78.0612245%; | |
} | |
#sub { | |
float: right; | |
width: 20.4081633%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment