Skip to content

Commit

Permalink
Merge pull request #13 from luonghuyquang/main
Browse files Browse the repository at this point in the history
 update content, links, and accessibility
  • Loading branch information
dipaish authored Aug 15, 2024
2 parents f8bd69f + 74946f0 commit c1a9fba
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/HAMK_BASIC_Software_MacUsers.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ git config --list
```
***Congratulations, you have installed most of the required applications that you need while studying at HAMK. Over time, you will need to install additional applications.***

** All completed! **
**All completed!**


## Step 9: Virtual machines platforms
Expand Down
53 changes: 48 additions & 5 deletions docs/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,13 @@ h1, h2, h3, h4, h5, h6 {
color: white;
}

.md-icon { /* in the header, dark light switch icon */
color: #D7AFFF;
.md-icon, .md-top.md-icon, .md-clipboard.md-icon {
color: #7300f0;
}

.md-top.md-icon, .md-clipboard.md-icon {
color: #7300f0;
background-color: white;
}

.md-search__icon.md-icon { /* magnifier search icon in the search box */
Expand All @@ -78,13 +83,18 @@ input.md-search__input::placeholder { /*placeholder in the search box*/
}

.md-tabs { /* the horizontal bar just below the header */
background-color: #7300F0;
background-color: #d7afff;
}

.md-tabs__item .md-tabs__link { /*nav in the horizontal bar just below the header*/
color: white;
color: black;
}

.md-tabs__item--active .md-tabs__link {
color: black;
}


.md-ellipsis:hover { /* hovering over the nav and toc links, also affecting header text if not set separately */
color: #7300F0;
}
Expand Down Expand Up @@ -191,4 +201,37 @@ input.md-search__input::placeholder { /*placeholder in the search box*/
.greetings {
font-size: 30px;
color: #7300F0;
}
}

/* Accessibility - fixing font-size too small */
.highlight span.filename {
font-size: 0.95em;
}

[data-md-color-scheme="default"] {
--md-default-fg-color--light: black;
--md-default-fg-color: #212121;
--md-code-hl-name-color: #212121;
--md-footer-bg-color: #d7afff;
--md-footer-bg-color--dark: #003755;
--md-code-fg-color: #212121;
}

[data-md-color-scheme="slate"] {
--md-default-fg-color--light: white;
--md-default-fg-color: #fafafa;
--md-code-hl-name-color: #fafafa;
--md-footer-bg-color: #d7afff;
--md-footer-bg-color--dark: #003755;
--md-code-fg-color: #fafafa;
}

.md-footer__title {
color: black;
}

.md-typeset a {
color: var(--md-typeset-a-color);
font-style: italic;
text-decoration: underline;
}
8 changes: 4 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ If you already have a **GitHub account**, you can sign in and if you don't have
- It helps to verify your identity which is important when collaborating on academic projects during the module.
- You might have access to educational resources for students or discounts.

***Mandatory for all*** <br>
!!! Warning
Mandatory for all
***Mandatory for all*** <br>
!!! warning
Mandatory for all

You are required to link your school email to your personal GitHub account. Please follow the instructions below:

Expand All @@ -107,7 +107,7 @@ The GitHub Student Pack is a service meant to help students with their coding an
**To activate the GitHub Student Developer Pack, follow these steps:**

1. Access the Student Developer Pack:
Once Signed in to GitHub and linking up your school's email account, access the [Sign Up for Student Development Pack](https://education.github.com/benefits?type=student)page.
Once Signed in to GitHub and linking up your school's email account, access the [Sign Up for Student Development Pack](https://education.github.com/benefits?type=student) page.
2. Select your academic status as Student.
3. Fill in the form and Click Continue.

Expand Down
15 changes: 5 additions & 10 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
site_name: HAMK BYOD
repo_url: https://github.com/hamk-business-information-technology/os
repo_name: hamk/bit/os
edit_uri: edit/main/docs/ # to let content.action.edit / view redirect to `main`, not `master`
repo_name: hamk-bit/os
theme:
name: material
logo: assets/favicon/logo_light_pink.png
Expand All @@ -9,8 +10,8 @@ theme:
- content.tabs.link
- content.code.copy
- content.code.annotate
- content.action.edit # link to edit, The repo_url must also be given
- content.action.view # link to view, The repo_url must also be given
- content.action.edit # link to edit, the repo_url must also be given
- content.action.view # link to view, the repo_url must also be given
- navigation.tabs
- navigation.sections
# - navigation.expand # needed for larger webservers
Expand Down Expand Up @@ -56,6 +57,7 @@ extra:
link: https://www.linkedin.com/school/hamk/
- icon: fontawesome/solid/paper-plane
link: mailto:[email protected]
alt: email
status:
new: New feature
experimental: experimental
Expand Down Expand Up @@ -109,12 +111,5 @@ extra_javascript:
# - info # this is to report bug to mkdocs-material only
# - search # must be on if plugins on

#nav:
# - Home: index.md
# - Template: template/index.md
# - Documentation: documentation/index.md
# - BYOD: byod/index.md
# - BYOD: byod/

copyright:
Copyright &copy; 2024 <a href="https://www.hamk.fi/en/" target="blank" >Häme University of Applied Sciences (HAMK)</a>

0 comments on commit c1a9fba

Please sign in to comment.