Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Documentation search #1138

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: Update CSS styles for website
The CSS styles for the website have been updated to improve the overall appearance and user experience. This includes changes to the color scheme, navbar, details element, and announcement banner. The changes aim to make the website more visually appealing and easier to navigate.

Note: This commit message follows the established convention of starting with a verb in the imperative form and providing a concise summary of the changes made.
hichemfantar committed Aug 10, 2024
commit 9136419bca424c23f328410cee0e37b3ac11394c
85 changes: 0 additions & 85 deletions website/src/css/immer-infima.css
Original file line number Diff line number Diff line change
@@ -4,42 +4,11 @@
}
*/

a {
color: #c200c2;
}

a:hover {
text-decoration: underline;
}

.navbar--dark {
--ifm-navbar-background-color: black;
--ifm-menu-color: white;
--ifm-menu-color-background-hover: rgba(255, 255, 255, 0.1);
}

.navbar--fixed-top {
color: white;
font-weight: bold;
}

.navbar--fixed-top a {
color: white;
}

:root {
--ifm-link-color: #c200c2;
}

details {
margin-bottom: 20px;
background: #e2e2e2;
}

details[open] {
border-bottom: 2px solid #c200c2;
}

details iframe {
padding: 0 20px;
}
@@ -51,62 +20,8 @@ details a {
color: #666;
}

.egghead-summary {
color: white;
background: #c200c2;
padding: 5px;
margin: 0px;
border-radius: 2px;
cursor: pointer;
}

.egghead-link {
font-style: italic;
padding: 5px;
margin: 5px;
}

iframe {
border: none;
}

.dropdown__link {
color: black !important;
}

/* Announcement banner */

:root {
--docusaurus-announcement-bar-height: auto !important;
}

div[class^="announcementBarContent"] {
line-height: 40px;
font-size: 20px;
font-weight: bold;
padding: 8px 30px;
}

div[class^="announcementBarContent"] a {
text-decoration: underline;
display: inline-block;
color: var(--ifm-color-primary-lightest) !important;
}

div[class^="announcementBarContent"] a:hover {
color: var(--brand) !important;
}

@media only screen and (max-width: 768px) {
.announcement {
font-size: 18px;
}
}

@media only screen and (max-width: 500px) {
.announcement {
font-size: 15px;
line-height: 22px;
padding: 6px 30px;
}
}