mirror of
https://github.com/ossu/computer-science.git
synced 2025-03-29 00:48:02 -04:00
Change website theme to minima (#1316)
Another attempt at switching to a better theme (with dark mode) for the OSSU CS github pages website. It looks like this: https://pulkitkrishna.eu.org/computer-science/ Changes: - Change the theme to `minima`, the default jekyll theme (jekyll is the static site generator used by github pages). This supports a dark theme. if your OS and Browser is in dark mode, the website will appear with a dark theme. - Made some changes to the theme's components to better fit the OSSU github repository layout, and not require any changes to the markdown files themselves. The goal is to not affect anyone who uses the github repository instead, in any way. - Added a favicon - Change the OSSU banner and the "keep learning" image to local webp images, instead of png/jpeg hosted on imgur, to make them load faster. - Remove the mention of curriculum version number.
This commit is contained in:
parent
0d85cfafc0
commit
d630e8684a
@ -1,5 +1,5 @@
|
||||
<div align="center" style="text-align: center">
|
||||
<img src="http://i.imgur.com/kYYCXtC.png" alt="Open Source Society logo"/>
|
||||
<img src="images/ossu-logo.webp" alt="Open Source Society logo"/>
|
||||
<h3>Open Source Society University</h3>
|
||||
<p>
|
||||
Path to a free self-taught education in Computer Science!
|
||||
@ -87,8 +87,6 @@ just remember that you can't purchase success!
|
||||
|
||||
# Curriculum
|
||||
|
||||
**Curriculum version**: `8.0.0` (see [CHANGELOG](CHANGELOG.md))
|
||||
|
||||
- [Prerequisites](#prerequisites)
|
||||
- [Intro CS](#intro-cs)
|
||||
- [Core CS](#core-cs)
|
||||
@ -443,7 +441,7 @@ What is next for you? The possibilities are boundless and overlapping:
|
||||
+ Explore **borrowing and lifetimes** through [Rust](https://www.rust-lang.org/), a systems language which achieves memory- and thread-safety without a garbage collector!
|
||||
+ Explore **dependent type systems** through [Idris](https://www.idris-lang.org/), a new Haskell-inspired language with unprecedented support for type-driven development.
|
||||
|
||||

|
||||

|
||||
|
||||
# Code of conduct
|
||||
[OSSU's code of conduct](https://github.com/ossu/code-of-conduct).
|
||||
|
@ -1 +1,7 @@
|
||||
title: Computer Science
|
||||
remote_theme: "jekyll/minima"
|
||||
minima:
|
||||
skin: auto
|
||||
nav_pages:
|
||||
- FAQ.md
|
||||
- HELP.md
|
||||
|
3
_includes/custom-head.html
Normal file
3
_includes/custom-head.html
Normal file
@ -0,0 +1,3 @@
|
||||
<link rel="icon" type="image/png" href="/images/favicon-96x96.png" sizes="96x96" />
|
||||
<link rel="icon" type="image/svg+xml" href="/images/favicon.svg" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" />
|
17
_includes/footer.html
Normal file
17
_includes/footer.html
Normal file
@ -0,0 +1,17 @@
|
||||
<footer class="site-footer h-card">
|
||||
<data class="u-url" href="{{ '/' | relative_url }}"></data>
|
||||
|
||||
<div class="wrapper">
|
||||
|
||||
<div class="footer-col-wrapper">
|
||||
<p>{{ site.description | escape }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="social-links">
|
||||
{%- include social.html -%}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
7
_includes/nav-items.html
Normal file
7
_includes/nav-items.html
Normal file
@ -0,0 +1,7 @@
|
||||
{%- for path in include.paths -%}
|
||||
{%- assign hyperpage = site.pages | where: "path", path | first -%}
|
||||
{%- if hyperpage.title %}
|
||||
<a class="nav-item" href="{{ hyperpage.url | relative_url }}">{{ hyperpage.title | escape }}</a>
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
<a class="nav-item" href="https://github.com/ossu/computer-science">GitHub</a>
|
10
_layouts/page.html
Normal file
10
_layouts/page.html
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
layout: base
|
||||
---
|
||||
<article class="post">
|
||||
|
||||
<div class="post-content">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
</article>
|
BIN
images/favicon-96x96.png
Normal file
BIN
images/favicon-96x96.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
images/favicon.ico
Normal file
BIN
images/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
17
images/favicon.svg
Normal file
17
images/favicon.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 133 KiB |
BIN
images/keep-learning.webp
Normal file
BIN
images/keep-learning.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
images/ossu-logo.webp
Normal file
BIN
images/ossu-logo.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
x
Reference in New Issue
Block a user