sttyle.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /*first lvl*/
  2. html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  3. a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,
  4. small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,
  5. fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,
  6. article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
  7. menu, nav, output, ruby, section, summary,time, mark, audio, video {
  8. margin: 0;
  9. padding: 0;
  10. border: 0;
  11. font-size: 100%;
  12. font: inherit;
  13. vertical-align: baseline;
  14. }
  15. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  16. display: block;
  17. }
  18. body {
  19. line-height: 1;
  20. }
  21. ol, ul {
  22. list-style: none;
  23. }
  24. blockquote, q {
  25. quotes: none;
  26. }
  27. blockquote:before, blockquote:after,q:before, q:after {
  28. content: '';
  29. content: none;
  30. }
  31. table {
  32. border-collapse: collapse;
  33. border-spacing: 0;
  34. }
  35. .name{
  36. background: yellow;
  37. box-sizing: border-box;
  38. }
  39. .list{
  40. box-sizing: border-box;
  41. }
  42. /*second lvl*/
  43. .box{
  44. height: 220px;
  45. width: 350px;
  46. padding: 15px 10px 20px 10px;
  47. margin:30px;
  48. border:2px dashed red;
  49. background-color: green;
  50. }
  51. /*third lvl*/
  52. .block{
  53. width: 615px;
  54. height: 393px;
  55. padding: 7px;
  56. }
  57. .ht_img{
  58. width: 200px;
  59. height: 113px;
  60. float: left;
  61. margin:0 20px 5px 0;
  62. }
  63. .hss_img{
  64. width: 150px;
  65. height: 85px;
  66. float: right ;
  67. margin: 20px 0px 20px 20px;
  68. }
  69. p{
  70. padding-top: 0px;
  71. font-size: 1.07em;
  72. text-align: justify;
  73. line-height: 18px;
  74. }
  75. /*fourth lvl*/
  76. .square{
  77. width: 136px;
  78. height: 136px;
  79. position: relative;
  80. }
  81. .blue{
  82. width: 62px;
  83. height: 62px;
  84. z-index: 1;
  85. background: #7e8aeb;
  86. margin-left: 25%;
  87. margin-top: -25%;
  88. position: relative;
  89. }
  90. .red{
  91. width: 62px;
  92. height: 62px;
  93. z-index: -2;
  94. top:0;
  95. left: 0;
  96. background-color: #ff8888;
  97. position: relative;
  98. }
  99. .green{
  100. width: 62px;
  101. height: 62px;
  102. z-index: -1;
  103. float: right;
  104. background: #4def99;
  105. margin-top: -25%;
  106. position: relative;
  107. }