Guest User

Untitled

a guest
Jan 23rd, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. :root {
  2. font-size: 16px;
  3. --line: 1px solid #dad3d3
  4. }
  5.  
  6. li {
  7. list-style: none
  8. }
  9.  
  10. h1 {
  11. font-size: 2.5rem;
  12. font-weight: 700
  13. }
  14.  
  15. h2 {
  16. font-size: 2rem
  17. }
  18.  
  19. h3 {
  20. font-size: 1.5rem
  21. }
  22.  
  23. #main-header {
  24. display: flex;
  25. justify-content: space-between;
  26. height: 4rem;
  27. background: #842d25;
  28. padding: 1rem 3rem;
  29. color: #fff;
  30. font-family: fantasy
  31. }
  32.  
  33. #main-header>* {
  34. height: 4rem;
  35. line-height: 4rem
  36. }
  37.  
  38. #main-header>h1 {
  39. position: relative;
  40. top: 50%;
  41. transform: translateY(-50%)
  42. }
  43.  
  44. .main-wrap {
  45. padding: 3rem;
  46. overflow: hidden
  47. }
  48.  
  49. .qna {
  50. background-color: #f5f1ef;
  51. margin-top: 3rem
  52. }
  53.  
  54. .qna+.qna {
  55. margin-top: 3rem
  56. }
  57.  
  58. .new-question-btn {
  59. width: 7rem;
  60. height: 3rem;
  61. font-size: 1rem;
  62. border-radius: .3rem;
  63. background-color: #2e9a52;
  64. float: right;
  65. margin-bottom: 1rem;
  66. box-shadow: 1px 2px #d0e2cf;
  67. cursor: pointer;
  68. color: #fff
  69. }
  70.  
  71. .qna-wrap {
  72. clear: both
  73. }
  74.  
  75. .qna-title {
  76. padding: 2rem
  77. }
  78.  
  79. .question {
  80. border-top: var(--line);
  81. border-bottom: var(--line);
  82. padding: 3rem 2rem
  83. }
Add Comment
Please, Sign In to add comment