template.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. // Starter Blog Template
  2. // https://wowchemy.com/hugo-themes/
  3. body {
  4. background-color: rgb(247, 250, 252);
  5. }
  6. .article-container {
  7. background-color: #fff;
  8. border-radius: 15px;
  9. }
  10. .dark .article-container {
  11. background-color: rgb(31, 39, 51);
  12. }
  13. // custom footer color
  14. .page-footer {
  15. background-color: rgb(247, 250, 252);
  16. }
  17. .dark .page-footer {
  18. background-color: rgb(26, 32, 44);
  19. }
  20. // more rounded cards and larger gap between cards
  21. .card-simple {
  22. margin-top: 1.8rem;
  23. border-radius: 15px;
  24. }
  25. .dark .card-simple {
  26. background: rgb(31, 39, 51);
  27. }
  28. // no navbar shadow
  29. .navbar {
  30. box-shadow: none !important; // 'important' to override dark mode box-shadow too.
  31. }
  32. // custom section padding
  33. .home-section {
  34. padding: 1rem 0 1rem 0;
  35. }
  36. .home-section.wg-about-avatar {
  37. padding: 0 0 0 0;
  38. }
  39. #profile .network-icon {
  40. margin-top: 0.5rem;
  41. }
  42. ul.network-icon .big-icon {
  43. font-size: 1.5rem;
  44. }
  45. .dark .portrait-title h3 {
  46. color: rgba(255, 255, 255, 0.9);
  47. font-weight: bold;
  48. }
  49. .dark .portrait-title h2 {
  50. color: #fff;
  51. font-weight: bold;
  52. }
  53. .home-section > .content {
  54. width: 45em;
  55. max-width: calc(100% - 4em);
  56. margin: 0 auto;
  57. }
  58. .home-section > .content > :last-child {
  59. margin-bottom: 0;
  60. }
  61. .home-section header {
  62. margin-bottom: 1em;
  63. }
  64. // Narrower container for Hello World sections (primarily Blank widget content).
  65. @media (min-width: 1200px) {
  66. .home-section .container {
  67. max-width: 880px;
  68. }
  69. }
  70. @media (min-width: 992px){
  71. .home-section .container {
  72. max-width: 880px;
  73. }
  74. }
  75. // Custom avatar size on homepage
  76. .avatar {
  77. width: auto;
  78. height: auto;
  79. max-width: 225px;
  80. max-height: 225px;
  81. }
  82. // Prevent stretching on About page with narrow container
  83. .wg-about .avatar {
  84. width: auto;
  85. height: auto;
  86. max-width: 200px;
  87. max-height: 200px;
  88. }
  89. // Smaller Name and Role text on About page than in homepage `about.avatar` widget
  90. .wg-about .portrait-title h2 {
  91. font-size: 1rem
  92. }
  93. .wg-about .portrait-title h3 {
  94. font-size: .8rem
  95. }