Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. @charset "utf-8";
  2. /* CSS Document */
  3.  
  4.  
  5.  
  6. * {margin: 0; padding: 0;}
  7.  
  8. /* Сброс стилей */
  9.  
  10.  
  11.  
  12. /* Конец сброса стилей*/
  13.  
  14.  
  15. html {
  16.  
  17. min-height: 100%;
  18. width: 100%;
  19. font-size: 100%; } /* Браузерное умолчание, т.е. 16px */
  20. h1 {
  21. font-size: 5vmin;
  22. font-size: 1.5rem;
  23. }
  24. h2 {
  25. font-size: 3.5vmin;
  26. font-size: 1.2rem;
  27. text-align: center;
  28. line-height: 1;
  29. }
  30.  
  31. h4 {
  32. font-size: 3vmin;
  33. font-size: 1rem;
  34. font-weight: normal;
  35. text-align: center;
  36. display:inline;}
  37.  
  38. h5 {
  39. text-align: center;
  40. line-height: 1.5;
  41. }
  42.  
  43.  
  44. h6 {
  45. text-align: center;
  46. line-height: 1.5;
  47. }
  48.  
  49. p {
  50. font-size: 3vmin;
  51. font-size: 0.9rem;
  52. }
  53.  
  54. .accordion h3 {
  55. font-size: 2.2vmin;
  56. font-size: 0.7rem;
  57. display: block;
  58. }
  59.  
  60. .title_block {
  61. line-height: 1.7; /* 34px */}
  62.  
  63. #map {display:block}
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71. body {
  72. font-size: 100%;
  73. line-height: 1.6875;
  74. font-family: Georgia;
  75. height: 100%;
  76. min-height: 100%;
  77. }
  78.  
  79. #main {
  80.  
  81. margin: 0px;
  82. padding: 0px;
  83. display: flex;
  84. flex-flow: row;
  85. }
  86.  
  87. #main > article {
  88. height: 100%;
  89. margin: 4px;
  90. padding: 10px 20px 10px 20px;
  91. border: 1px solid #87a7b1;
  92. border-radius: 7pt;
  93. background: #F7F7F7;
  94. flex: 3 1 60%;
  95. order: 2;
  96. text-align:justify;
  97. }
  98.  
  99.  
  100. #main > aside {
  101. margin: 4px;
  102. padding: 7px;
  103. border: 1px solid #8888bb;
  104. border-radius: 7pt;
  105. background: #eceeec;
  106. flex: 1 6 20%;
  107. order: 3;
  108. border: 1px solid #9cb6be;
  109. border-radius: 7pt;
  110. padding-bottom: 35px;
  111. }
  112.  
  113. header {
  114. position: relative;
  115. display: block;
  116. margin: 4px;
  117. padding: 5px;
  118. height: auto;
  119. min-height: 100px;
  120. border: 1px solid #9cb6be;
  121. border-radius: 7pt;
  122. background: #e4ebed;
  123. }
  124.  
  125. footer {
  126. position: relative;
  127. display: block;
  128. margin: 4px;
  129. padding: 5px;
  130. height: auto;
  131. min-height: 85px;
  132. border: 1px solid #9cb6be;
  133. border-radius: 7pt;
  134. background: #C9D1C7;
  135.  
  136. }
  137.  
  138.  
  139. img {
  140. max-width: 100%;
  141. }
  142.  
  143.  
  144.  
  145. a { color:#0043AF; }
  146.  
  147.  
  148.  
  149. /* Too narrow to support three columns */
  150. @media all and (max-width: 640px) {
  151. #main, #page {
  152. flex-direction: column;
  153. }
  154.  
  155. #main > article, #main > nav, #main > aside {
  156. /* Return them to document order */
  157. order: 0;
  158. }
  159.  
  160. #main > nav, #main > aside, header
  161. {
  162. min-height: 40px;
  163. max-height: 500px;
  164. }
  165.  
  166. footer {min-height: 100px;}
  167. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement