0
0

main.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. @import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
  2. @import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
  3. a{
  4. font-size: 36px;
  5. text-decoration: none;
  6. color: #26110C;
  7. transition-duration: 1s;
  8. font-family: 'Raleway', sans-serif;
  9. }
  10. a:hover{
  11. color: #732727;
  12. }
  13. a:visited{
  14. color: #26110C;
  15. }
  16. body{
  17. background-color: #F2A76687; /*#D9B9A7;*/
  18. }
  19. br{
  20. margin-bottom: 18px;
  21. }
  22. div.main_block{
  23. width: max(50%, 500px);
  24. max-width: min(100%, 800px);
  25. margin: 0 auto;
  26. padding-top: 50px;
  27. }
  28. h1{
  29. font-family: 'Raleway', sans-serif;
  30. font-size: 48px;
  31. }
  32. h2{
  33. font-family: 'Raleway', sans-serif;
  34. font-size: 40px;
  35. }
  36. h3{
  37. font-family: 'Open Sans', sans-serif;
  38. font-size: 32px;
  39. }
  40. h4{
  41. font-family: 'Open Sans', sans-serif;
  42. font-size: 24px;
  43. }
  44. hr{
  45. border: 0;
  46. border-bottom: dashed;
  47. }
  48. img{
  49. padding: 15px 0;
  50. width: 100%;
  51. }
  52. p{
  53. font-family: 'Raleway', sans-serif;
  54. font-size: 28px;
  55. }
  56. select {
  57. /* styling */
  58. background-color: #F2A76652;
  59. border: thin solid #F23030;
  60. border-radius: 4px;
  61. display: block;
  62. font: inherit;
  63. font-size: 20px;
  64. line-height: 1.5em;
  65. padding: 0.5em 3.5em 0.5em 1em;
  66. /* reset */
  67. margin: 0 auto;
  68. -webkit-box-sizing: border-box;
  69. -moz-box-sizing: border-box;
  70. box-sizing: border-box;
  71. -webkit-appearance: none;
  72. -moz-appearance: none;
  73. }
  74. select.select-css {
  75. background-image:
  76. linear-gradient(45deg, transparent 50%, #260101 0%),
  77. linear-gradient(135deg, #260101 50%, transparent 0%);
  78. background-position:
  79. calc(100% - 21px) calc(1em + 2px),
  80. calc(100% - 13px) calc(1em + 2px);
  81. background-size:
  82. 8px 8px, 8px 8px, 2.5em 2.5em;
  83. background-repeat: no-repeat;
  84. }