Skip to content

Commit

Permalink
[Docs] Add Plus docs theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Magdalena Sadowska committed Jan 22, 2020
1 parent aadd5f8 commit fcf9103
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
Binary file added docs/_images/sylius_plus/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions docs/_themes/sylius_rtd_theme/static/css/sylius-custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -282,3 +282,46 @@ div[class^='highlight'] {
font-size: 11px;
letter-spacing: 2px;
}

/* Plus feature */
.plus-doc {
padding: 30px;
border: 2px dashed #404662;
border-radius: 6px;
}

.plus-doc::before {
content: 'SYLIUS PLUS DOCUMENTATION';
position: relative;
bottom: 42px;
right: 2px;
background: #404662;
color: #fdf2f1;
padding: 4px 10px;
border-radius: 60px;
font-size: 11px;
letter-spacing: 2px;
}

.plus-feature {
color: #404662;
}

.plus-feature:hover {
color: #404662;
}

.plus-feature::after {
content: 'PLUS';
font-weight: 600;
font-size: 10px;
text-transform: uppercase;
background: #404662;
color: #fff;
padding: 0 7px;
border-radius: 99px;
transform: translateY(-1px);
display: inline-block;
line-height: 1.7;
margin-left: 5px;
}

0 comments on commit fcf9103

Please sign in to comment.