_pages.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. .page-links {
  2. clear: both;
  3. margin: 0 0 1.5em;
  4. }
  5. .page-title {
  6. line-height: 1.2;
  7. margin-top: 0;
  8. margin-bottom: .8em;
  9. }
  10. .page-header {
  11. margin-top: 0;
  12. margin-bottom: 3.2em;
  13. padding-bottom: .8em;
  14. border-bottom: 1px solid $color__border-button;
  15. }
  16. .taxonomy-description {
  17. font-style: italic;
  18. }
  19. .page .entry-content {
  20. @include font-size(1.125);
  21. }
  22. .page .hentry {
  23. border-bottom: 0;
  24. padding-bottom: 0;
  25. }
  26. /*--------------------------------------------------------------
  27. ## Front Page
  28. --------------------------------------------------------------*/
  29. .custom-header.in-panel {
  30. position: relative;
  31. }
  32. .custom-header-image {
  33. background-size: 100% auto;
  34. background-position: top left;
  35. width: 100%;
  36. height: 0;
  37. margin: 0;
  38. padding: 0;
  39. }
  40. .affinity-front-page {
  41. .entry-title {
  42. margin: .8em 0;
  43. text-align: center;
  44. }
  45. .hentry {
  46. border-bottom: 0;
  47. margin-bottom: 0;
  48. padding-bottom: 0;
  49. position: relative;
  50. .entry-content {
  51. @include font-size(1.125);
  52. margin-bottom: 1.6em;
  53. }
  54. }
  55. .edit-link {
  56. display: block;
  57. margin-left: auto;
  58. margin-right: auto;
  59. width: 90%;
  60. }
  61. .hentry:first-of-type .edit-link {
  62. width: 100%;
  63. }
  64. }
  65. .panel-navigation {
  66. display: none;
  67. list-style: none;
  68. margin: 0;
  69. padding: 0;
  70. position: fixed;
  71. right: 1.6em;
  72. top: 50%;
  73. transform: translateY(-50%);
  74. .sep {
  75. font-family: Arial, Helvetica, sans-serif;
  76. margin: 0;
  77. }
  78. li {
  79. margin: 0;
  80. padding: 0;
  81. }
  82. a,
  83. a:visited {
  84. @include font-size(1.625);
  85. line-height: 1;
  86. margin-top: 0;
  87. margin-bottom: 0;
  88. position: relative;
  89. color: darken($color__border-button,3);
  90. display: inline-block;
  91. text-decoration: none;
  92. transition: 0.2s;
  93. &.active,
  94. &:hover {
  95. color: rgba(darken($color__border-button,3),0.2);
  96. }
  97. & .hidden {
  98. @include font-size(.875);
  99. font-family: $font__headings;
  100. text-transform: uppercase;
  101. font-weight: bold;
  102. letter-spacing: 1px;
  103. display: inline-block;
  104. line-height: 1;
  105. position: absolute;
  106. padding: .8em 3.2em .8em .8em;
  107. top: -.3em;
  108. transform: translateX(6em);
  109. visibility: hidden;
  110. outline: none;
  111. opacity: 0;
  112. transition: 0.3s;
  113. white-space: nowrap;
  114. }
  115. &:hover .hidden,
  116. &:active .hidden,
  117. &:focus .hidden {
  118. color: darken($color__border-button,3);
  119. font-weight: bold;
  120. visibility: visible;
  121. transform: translateX(2.4em);
  122. opacity: 1;
  123. outline: none;
  124. right: 100%;
  125. }
  126. }
  127. }