style_diva.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /** imports
  2. @import url('fonts/callingcode/font.css');**/
  3. /** common elements **/
  4. body {
  5. background: linear-gradient(90deg, rgba(2,18,18,1) 0%, rgba(3,27,27,1) 100%);
  6. color: #fff;
  7. font: 18px 'MS Gothic', sans-serif;
  8. }
  9. a {
  10. color: #008592;
  11. text-decoration: none;
  12. }
  13. h1, h2 {
  14. background: linear-gradient(90deg, rgba(44,48,55,1) 0%, rgba(104,111,123,1) 100%);
  15. border-top: #f8ffff 2px solid;
  16. border-right: #f8ffff 2px solid;
  17. clear: both;
  18. padding: 0.2em;
  19. }
  20. h1 {font-size: 32px;}
  21. h2 {font-size: 24px;}
  22. img {margin: 0.5em 0;}
  23. p img {margin: 0;}
  24. ul {
  25. list-style-type: square;
  26. }
  27. /** class **/
  28. .center {text-align: center;}
  29. .block {
  30. min-height: 125px;
  31. padding-bottom: 1em;
  32. }
  33. .container {
  34. margin: 0 auto;
  35. max-width: 1000px;
  36. }
  37. .content {
  38. background: url('banner_home.png') top no-repeat,url('bg_r.png') repeat;
  39. background-size: 1000px auto, auto;
  40. border: #fff 3px solid;
  41. box-sizing: border-box;
  42. display: grid;
  43. grid-column-gap: 10px;
  44. grid-row-gap: 10px;
  45. grid-template-areas:
  46. "main right";
  47. grid-template-columns: auto 200px;
  48. grid-template-rows: auto;
  49. padding: 10px;
  50. width: 100%;
  51. }
  52. .section {
  53. margin-top: 20px;
  54. padding-top: 5px;
  55. }
  56. /** id **/
  57. #main {
  58. grid-area: main;
  59. min-width: 300px;
  60. }
  61. #main .block {
  62. background: url('div_169.png') bottom right no-repeat;
  63. }
  64. #right {
  65. grid-area: right;
  66. }
  67. #right .block {
  68. background: url('div_105.png') bottom right no-repeat;
  69. }