Skip to content

Commit

Permalink
Merge pull request #24 from angrybayblade/fix/doc-site
Browse files Browse the repository at this point in the history
Fix site URL
  • Loading branch information
angrybayblade authored Mar 10, 2024
2 parents 0d69712 + 0eefadc commit aa7f89e
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 1 deletion.
99 changes: 99 additions & 0 deletions docs/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
* {
box-sizing: border-box;
margin: 0px;
padding: 0px;
}

:root {
--primary: #151fa7;
}

.row .col-md-3 a {
color: var(--primary) !important;
}

body::before {
background: none;
}

body .navbar {
height: 50px;
padding: 0px;
background: var(--primary) !important;
}

@media only screen and (max-width: 1000px) {
body .navbar .show {
background: var(--primary);
position: absolute;
width: calc(100% - 20px);
top: 50px;
left: 10px;
padding: 10px;

border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
}

body .navbar .show li {
border-bottom: 1px solid #eee;
}

body .navbar .container {
padding: 0px;
margin: 0px;
padding-left: 15px;
}

body .dropdown-menu li {
margin-bottom: 2px;
}

body .dropdown-menu li a:hover {
background-color: var(--primary);
}

body .dropdown-menu li .active {
background-color: var(--primary);
}

body .container {
margin: 0px;
margin-top: 15px;
width: calc(100vw - 15px);
max-width: 100vw;
background: none;
}

body pre {
border-radius: 5px;
}

.col-md-9 img {
margin-bottom: 0px;
}

.col-md-9 h2 {
padding-bottom: 5px;
margin-bottom: 10px;
}

.col-md-9 p {
padding-left: 10px;
}

.col-md-9 ul {
margin-left: 35px;
}

@media only screen and (min-width: 1000px) {
body .side-by-side {
display: flex;
gap: 15px;
width: 100%;
}
body .side-by-side pre{
width: 50%;
}
}
4 changes: 3 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
site_name: Clea
site_url: https://angrybayblade.me/clea
site_url: http://clea.angrybayblade.me/
repo_url: https://github.com/angrybayblade/clea/
edit_uri: blob/main/docs/
extra_css:
- style.css
nav:
- Command: command.md
- Group: group.md
Expand Down

0 comments on commit aa7f89e

Please sign in to comment.