Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. @charset "utf-8";
  2. /* CSSリセット */
  3. html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,
  4. pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,
  5. strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,
  6. caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,
  7. figure,footer,header,hgroup,menu,nav,section,summary,time,mark,
  8. audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;
  9. vertical-align:baseline;background:transparent;font-weight:normal;}
  10. body{line-height:1}article,aside,details,figcaption,figure,
  11. footer,header,hgroup,menu,nav,section{display:block}
  12. ul{list-style:none}blockquote,q{quotes:none}blockquote:before,
  13. blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;
  14. font-size:100%;vertical-align:baseline;background:transparent}
  15. del{text-decoration:line-through}abbr[title],dfn[title]
  16. {border-bottom:1px dotted;cursor:help}
  17. table{border-collapse:collapse;border-spacing:0}
  18. hr{display:block;height:1px;border:0;border-top:1px solid #ccc;
  19. margin:1em 0;padding:0}input,select{vertical-align:middle}
  20.  
  21. /*一般・共通設定*/
  22. body{
  23. background: #ebe6d3 url(images/bg.jpg) repeat-x;
  24. font:16px/20px "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",'メイリオ',Meiryo,Helvetica,Arial,Sans-Serif;
  25. color: #666;
  26. }
  27.  
  28. a{ color: #69c;}
  29. a:hover{color:#069;}
  30.  
  31. #wrapper{
  32. width: 960px;
  33. margin: 0 auto;
  34. }
  35.  
  36. #projects h1, #about h1{
  37. font-size: 125%;
  38. border-left: 5px #d95483 solid;
  39. padding-left: 10px;
  40. margin-bottom: 15px;
  41. }
  42.  
  43. /*ヘッダー*/
  44. header .logo{float: left;}
  45.  
  46. nav{
  47. float: right;
  48. margin-top:35px;
  49. font-size: 125%;
  50. }
  51. nav li{
  52. display: inline;
  53. margin-left: 30px;
  54. }
  55. nav a{
  56. color: #666;
  57. text-decoration: none;
  58. }
  59. nav a:hover{color: #69c;}
  60. header{
  61. margin: 50px 0 15px;
  62. overflow: hidden;
  63. }
  64.  
  65. /*メインエリア*/
  66. #hero{
  67. background: url(images/shadow.jpg) no-repeat center 400px;
  68. margin-bottom: 70px;
  69. }
  70. #hero img{border: 5px #fff solid;}
  71. #hero p{
  72. font-size: 167%;
  73. text-align: center;
  74. margin-top: 30px;
  75. }
  76.  
  77. /*最新の作品*/
  78. #projects{
  79. width: 670px;
  80. float: left;
  81. margin-right: 30px;
  82. }
  83. #projects li{
  84. float: left;
  85. margin: 0 20px 20px 0
  86. }
  87. #projects img{border: 5px #fff solid;}
  88. #projects img:hover{border: 5px #69c solid;}
  89. #projects ul{
  90. overflow: hidden;
  91. margin-right: -20px;
  92. }
  93.  
  94. /*自己紹介*/
  95. #about{
  96. width: 260px;
  97. float: left;
  98. }
  99.  
  100. /*フッター*/
  101. footer:before{
  102. content: "";
  103. display: table;
  104. clear: both;
  105. }
  106. footer p{
  107. background: #69c;
  108. width: 200px;
  109. margin: 50px auto 20px;
  110. padding: 5px;
  111. text-align: center;
  112. font-size: 75%;
  113. }
  114. footer p small{
  115. color: #fff;
  116. border: 1px #fff solid;
  117. padding: 10px;
  118. display: block;
  119. }
  120. footer a{color: #fff}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement