| 1 |
// Block Only Category Slate Layout |
| 2 |
|
| 3 |
@import "../common"; |
| 4 |
@import "./common"; |
| 5 |
|
| 6 |
// Block-specific styles for Category Slate Layout |
| 7 |
.betterdocs-blocks { |
| 8 |
.betterdocs-category-grid-three-wrapper { |
| 9 |
.betterdocs-single-category-wrapper { |
| 10 |
margin-top: 10px; |
| 11 |
margin-bottom: 10px; |
| 12 |
} |
| 13 |
|
| 14 |
.betterdocs-category-header { |
| 15 |
padding: 0; |
| 16 |
.betterdocs-category-header-inner { |
| 17 |
align-items: center; |
| 18 |
display: flex; |
| 19 |
justify-content: stretch; |
| 20 |
.betterdocs-category-title { |
| 21 |
font-size: 24px; |
| 22 |
&:has(a) { |
| 23 |
display: inline-flex; |
| 24 |
align-items: center; |
| 25 |
margin-top: 0; |
| 26 |
margin-bottom: 0; |
| 27 |
} |
| 28 |
&:not(:has(a)) { |
| 29 |
color: #1D2939; |
| 30 |
line-height: 1; |
| 31 |
margin-top: 0; |
| 32 |
margin-bottom: 0; |
| 33 |
text-decoration: none; |
| 34 |
} |
| 35 |
a { |
| 36 |
font-size: 24px; |
| 37 |
color: #1D2939; |
| 38 |
font-weight: 500; |
| 39 |
line-height: 1; |
| 40 |
margin-top: 0; |
| 41 |
margin-bottom: 0; |
| 42 |
text-decoration: none; |
| 43 |
} |
| 44 |
} |
| 45 |
} |
| 46 |
} |
| 47 |
|
| 48 |
.betterdocs-folder-icon { |
| 49 |
display: inline-flex; |
| 50 |
width: 32px; |
| 51 |
height: 32px; |
| 52 |
justify-content: center; |
| 53 |
align-items: center; |
| 54 |
background: #F2F4F7; |
| 55 |
border-radius: 6px; |
| 56 |
} |
| 57 |
|
| 58 |
.betterdocs-category-icon { |
| 59 |
align-items: center; |
| 60 |
display: inline-flex; |
| 61 |
flex-shrink: 0; |
| 62 |
justify-content: center; |
| 63 |
margin-right: 12px; |
| 64 |
.betterdocs-folder-icon { |
| 65 |
display: inline-flex; |
| 66 |
width: 32px; |
| 67 |
height: 32px; |
| 68 |
justify-content: center; |
| 69 |
align-items: center; |
| 70 |
background: #F2F4F7; |
| 71 |
border-radius: 6px; |
| 72 |
img { |
| 73 |
width: 100%; |
| 74 |
height: auto; |
| 75 |
} |
| 76 |
} |
| 77 |
img { |
| 78 |
width: 100%; |
| 79 |
height: auto; |
| 80 |
} |
| 81 |
} |
| 82 |
|
| 83 |
.betterdocs-articles-list { |
| 84 |
display: inline-block; |
| 85 |
margin: 0; |
| 86 |
padding: 0; |
| 87 |
list-style: none; |
| 88 |
|
| 89 |
li { |
| 90 |
margin: 24px 0 0 0; |
| 91 |
list-style: none; |
| 92 |
display: flex; |
| 93 |
align-items: center; |
| 94 |
position: relative; |
| 95 |
a { |
| 96 |
font-size: 16px; |
| 97 |
color: #475467; |
| 98 |
line-height: 1.6; |
| 99 |
font-weight: 500; |
| 100 |
transition: all 0.3s; |
| 101 |
outline: none; |
| 102 |
text-decoration: none; |
| 103 |
&:hover { |
| 104 |
text-decoration: underline; |
| 105 |
color: #00B884; |
| 106 |
} |
| 107 |
} |
| 108 |
} |
| 109 |
} |
| 110 |
} |
| 111 |
} |
| 112 |
|