No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base.css 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. @charset "utf-8";
  2. /* **********************************************
  3. * html定義 css
  4. *
  5. * 画面の大きさ・位置定義
  6. *
  7. * css 基本定義順番
  8. * 関数 {
  9. * position
  10. * display
  11. * left
  12. * top
  13. * rigth
  14. * buttom
  15. * width
  16. * height
  17. * margin
  18. * padding
  19. * }
  20. *
  21. ********************************************** */
  22. /*
  23. * 2014/02/26
  24. * body 大きさ定義
  25. *
  26. * 2014/03/03
  27. * p, ul, img
  28. * 余白0に定義
  29. * div#main
  30. * 全体の高さ取得用に定義
  31. */
  32. @media screen and (-webkit-min-device-pixel-ratio: 0) {
  33. .csshack {
  34. font-size: 14px;
  35. }
  36. }
  37. html {
  38. width: 100%;
  39. margin: 0 auto;
  40. /* background-color: #ffffff; */
  41. }
  42. html#html-back{
  43. background-repeat: no-repeat;
  44. background-attachment: fixed;
  45. -o-background-size: cover;
  46. -moz-background-size: cover;
  47. -webkit-background-size: cover;
  48. }
  49. body {
  50. position: relative;
  51. display: block;
  52. width: auto;
  53. /*width: 1000px;*/
  54. margin: 0 auto;
  55. padding: 0;
  56. /*background-image: url(img/kitagata_background.png);*/
  57. line-height: 120%;
  58. }
  59. body#back {
  60. background-image: url(img/kitagata_background.png);
  61. }
  62. p, img, span {
  63. margin: 0;
  64. padding: 0;
  65. }
  66. ul {
  67. margin: 0 0 0 1em;
  68. padding: 0;
  69. }
  70. div#main {
  71. position: relative;
  72. display: block;
  73. left: 0px;
  74. top: 0px;
  75. height: 100%;
  76. width: 920px;
  77. /*margin: 0px 0px 0px 0px;*/
  78. margin: 0 auto;
  79. padding: 10px 40px 40px 40px;
  80. }
  81. @media screen and (max-width: 768px) {
  82. div#main {
  83. width: 100%;
  84. padding: 0;
  85. }
  86. }
  87. .gothic {
  88. font-family: 'Lucida Grande', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  89. }
  90. .mincho {
  91. font-family: 'Lucida Grande', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  92. /*font-family:'Hiragino Mincho ProN', serif;*/
  93. }
  94. input#button1 {
  95. background-image: url(img/1_backcircle_red.png);
  96. }
  97. input#button2 {
  98. background-image: url(img/2_backcircle_gray.png);
  99. }
  100. input#button3 {
  101. background-image: url(img/3_backcircle_gray.png);
  102. }
  103. .u {
  104. text-decoration: underline;
  105. }
  106. .borderall {
  107. display: inline-block;
  108. border: solid 1px #000000;
  109. padding: 0px 0px 0px 0px;
  110. margin: 0px 0px 3px 0px;
  111. }
  112. /*2行目以降を字下げしたい時に使う
  113. spanタグには使えない*/
  114. .text-indent {
  115. text-indent: -1em;
  116. padding-left: 1em;
  117. }