mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Changes: - removed a closing tag that had no opening tag on `basic-article.ejs`. - fixed lint errors in the `basic-article.less` - Fixed the title of a ritual in `ceo.rituals.yml`
367 lines
7.6 KiB
Text
Vendored
367 lines
7.6 KiB
Text
Vendored
#basic-article {
|
|
padding: 0px 24px 0px 24px;
|
|
h1 {
|
|
font-size: 36px;
|
|
}
|
|
hr {
|
|
margin-top: 40px;
|
|
margin-bottom: 40px;
|
|
border-top: 2px solid @core-vibrant-blue-15;
|
|
width: 100%;
|
|
}
|
|
|
|
[purpose='article-title'] {
|
|
padding-top: 80px;
|
|
margin-bottom: 28px;
|
|
h1 {
|
|
margin-bottom: 4px;
|
|
line-height: 38px;
|
|
}
|
|
h2 {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
line-height: 32px;
|
|
}
|
|
}
|
|
|
|
[purpose='rss-button'] {
|
|
padding: 4px 8px;
|
|
display: inline;
|
|
max-width: min-content;
|
|
color: @core-fleet-black-75;
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
border-radius: 6px;
|
|
span::before {
|
|
vertical-align: baseline;
|
|
font-family: 'FontAwesome';
|
|
content: '\f09e';
|
|
padding-right: 8px;
|
|
font-size: 16px;
|
|
}
|
|
&:hover {
|
|
background-color: rgba(25, 33, 71, 0.05);
|
|
}
|
|
&:active {
|
|
background-color: rgba(25, 33, 71, 0.1);
|
|
}
|
|
}
|
|
[purpose='edit-button'] {
|
|
margin-left: 24px;
|
|
img {
|
|
width: 16px;
|
|
height: 16px;
|
|
display: inline;
|
|
margin-right: 8px;
|
|
}
|
|
padding: 4px 8px;
|
|
display: block;
|
|
color: @core-fleet-black-75;
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
line-height: 21px;
|
|
border-radius: 6px;
|
|
&:hover {
|
|
background-color: rgba(25, 33, 71, 0.05);
|
|
}
|
|
&:active {
|
|
background-color: rgba(25, 33, 71, 0.1);
|
|
}
|
|
}
|
|
[purpose='article-details'] {
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
span {
|
|
color: @core-fleet-black-50;
|
|
}
|
|
p {
|
|
margin-block-end: 0px;
|
|
}
|
|
img {
|
|
height: 28px;
|
|
}
|
|
}
|
|
[purpose='article-content'] {
|
|
padding-top: 24px;
|
|
padding-bottom: 24px;
|
|
h1:first-of-type {
|
|
display: none;
|
|
}
|
|
h1:first-of-type + h2:first-of-type {
|
|
display: none;
|
|
}
|
|
img {
|
|
max-width: 100%;
|
|
width: auto;
|
|
height: auto;
|
|
max-height: 100%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
padding: 24px 0px 16px 0px;
|
|
}
|
|
a {
|
|
color: @core-vibrant-blue;
|
|
word-break: break-word;
|
|
}
|
|
h2 {
|
|
font-size: 24px;
|
|
margin-top: 40px;
|
|
margin-bottom: 24px;
|
|
}
|
|
h3 {
|
|
font-size: 20px;
|
|
margin-top: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
h4 {
|
|
font-size: 16px;
|
|
margin-top: 24px;
|
|
margin-bottom: 24px;
|
|
}
|
|
h2 > code:not(.bash):not(.nohighlight):not(.mermaid) {
|
|
padding: 0px 4px;
|
|
font-weight: 400;
|
|
font-size: 22px;
|
|
line-height: inherit;
|
|
}
|
|
h3 > code:not(.bash):not(.nohighlight):not(.mermaid) {
|
|
padding: 0px 4px;
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
line-height: inherit;
|
|
}
|
|
p {
|
|
font-size: 16px;
|
|
line-height: 28px;
|
|
margin-bottom: 24px;
|
|
}
|
|
img + em { // Image captions
|
|
position: relative;
|
|
top: -12px;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
margin-bottom: 16px;
|
|
}
|
|
ul, ol {
|
|
padding-left: 16px;
|
|
}
|
|
li {
|
|
padding-bottom: 16px;
|
|
}
|
|
li::marker {
|
|
color: @core-vibrant-blue;
|
|
}
|
|
.markdown-heading {
|
|
scroll-margin-top: 140px;
|
|
}
|
|
[purpose='checklist-item'] {
|
|
display: flex;
|
|
input[type='checkbox'] {
|
|
margin-left: -18px;
|
|
min-width: 16px;
|
|
min-height: 16px;
|
|
align-self: center;
|
|
}
|
|
input:checked, input:active {
|
|
accent-color: @core-vibrant-blue;
|
|
}
|
|
[purpose='task'] {
|
|
margin-left: 16px;
|
|
input {
|
|
display: none;
|
|
}
|
|
p {
|
|
margin-bottom: 0px;
|
|
}
|
|
}
|
|
}
|
|
[purpose='checklist-item']::marker {
|
|
display: none;
|
|
}
|
|
a > code:not(.hljs):not(.nohighlight):not(.mermaid) {
|
|
color: inherit;
|
|
text-decoration: inherit;
|
|
}
|
|
code:not(.bash):not(.nohighlight):not(.mermaid) {
|
|
background: #F1F0FF;
|
|
padding: 4px 8px;
|
|
font-family: @code-font;
|
|
font-size: 13px;
|
|
line-height: 16px;
|
|
color: @core-fleet-black;
|
|
}
|
|
pre {
|
|
code {
|
|
background: none;
|
|
padding: 0px;
|
|
font-family: @code-font;
|
|
font-size: 13px;
|
|
line-height: 16px;
|
|
color: @core-fleet-black;
|
|
}
|
|
padding: 24px;
|
|
border: 1px solid #E2E4EA;
|
|
border-radius: 6px;
|
|
margin: 0px 0px 40px;
|
|
font-family: @code-font;
|
|
background: #F9FAFC;
|
|
white-space: break-spaces;
|
|
}
|
|
code.mermaid:not([data-processed='true']) {
|
|
opacity: 0;
|
|
}
|
|
code.mermaid {
|
|
color: @core-fleet-black-75;
|
|
margin-bottom: 16px 0px 32px;
|
|
font-family: @code-font;
|
|
display: inline-block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
background: #fff;
|
|
svg {
|
|
max-height: 600px;
|
|
}
|
|
}
|
|
blockquote {
|
|
margin: 24px 0 32px 32px;
|
|
display: block;
|
|
position: relative;
|
|
}
|
|
[purpose='quote'] {
|
|
font-style: italic;
|
|
line-height: 36px;
|
|
font-size: 24px;
|
|
}
|
|
[purpose='large-quote'] {
|
|
font-style: italic;
|
|
line-height: 24px;
|
|
font-size: 16px;
|
|
}
|
|
[purpose='large-quote']::before, [purpose='quote']::before {
|
|
content: ' ';
|
|
background-image: url('/images/icon-quote-mark-22x18@2x.png');
|
|
background-size: 22px 18px;
|
|
display: block;
|
|
position: relative;
|
|
top: 16px;
|
|
left: -32px;
|
|
width: 22px;
|
|
height: 18px;
|
|
}
|
|
[purpose='tip'] {
|
|
margin: 16px 0 32px;
|
|
background: #F7F7FC;
|
|
border: 1px solid @core-vibrant-blue-50;
|
|
padding: 16px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
img {
|
|
display: flex;
|
|
margin: 4px 12px 0 0;
|
|
height: 16px;
|
|
width: 16px;
|
|
padding: 0px;
|
|
}
|
|
p {
|
|
display: block;
|
|
margin-bottom: 16px;
|
|
line-height: 24px;
|
|
font-size: 16px;
|
|
}
|
|
p:only-child, p:last-child {
|
|
margin-bottom: 0px;
|
|
}
|
|
ul:last-child {
|
|
margin-bottom: 0px;
|
|
}
|
|
li:last-child {
|
|
padding-bottom: 0px;
|
|
}
|
|
}
|
|
[purpose='embedded-content'] {
|
|
position: relative;
|
|
margin-bottom: 40px;
|
|
width: 100%;
|
|
padding-bottom: 57%;
|
|
iframe {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
table {
|
|
table-layout: auto;
|
|
border: 1px solid @border-lt-gray;
|
|
border-collapse: collapse;
|
|
font-size: 16px;
|
|
line-height: 28px;
|
|
margin-bottom: 16px;
|
|
max-width: 100%;
|
|
th {
|
|
font-weight: @bold;
|
|
border: 1px solid @border-lt-gray;
|
|
padding: 8px 7px 7px 8px;
|
|
}
|
|
td {
|
|
border: 1px solid @border-lt-gray;
|
|
padding: 8px 7px 7px 8px;
|
|
}
|
|
}
|
|
}
|
|
[purpose='bottom-cta'] {
|
|
padding-bottom: 80px;
|
|
[purpose='next-steps-button'] {
|
|
padding: 16px 24px;
|
|
line-height: 24px;
|
|
font-size: 16px;
|
|
img {
|
|
height: 24px;
|
|
}
|
|
a {
|
|
color: unset;
|
|
}
|
|
}
|
|
}
|
|
[purpose='large-button-text'] {
|
|
display: block;
|
|
}
|
|
|
|
@media (max-width: 991px) {
|
|
[purpose='article-title'] {
|
|
padding-top: 60px;
|
|
}
|
|
[purpose='article-content'] {
|
|
padding-bottom: 0px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 769px) {
|
|
[purpose='article-title'] {
|
|
padding-top: 40px;
|
|
margin-bottom: 8px;
|
|
h1 {
|
|
font-size: 28px;
|
|
line-height: 38px;
|
|
}
|
|
}
|
|
[purpose='article-content'] {
|
|
img {
|
|
padding-bottom: 0px;
|
|
}
|
|
img + em { // Image captions
|
|
top: 4px;
|
|
margin-bottom: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 375px) {
|
|
[purpose='large-button-text'] { // Changes the Slack call to action (Join the Fleet community on Slack -> Join Fleet on Slack)
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
}
|