mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
feat(theme): add Apogee and Cupcake themes
- Improve button styles on dark themes - Add to Readme and Getting Started post
This commit is contained in:
parent
c7ede46424
commit
34deeedb07
8 changed files with 94 additions and 12 deletions
17
README.md
17
README.md
|
@ -13,6 +13,7 @@ Follow our easy [step by step guide](https://sourcethemes.com/academic/docs/inst
|
||||||
- Support development of Academic:
|
- Support development of Academic:
|
||||||
- [Donate a coffee](https://paypal.me/cushen)
|
- [Donate a coffee](https://paypal.me/cushen)
|
||||||
- [Decorate your laptop or journal with an Academic sticker](https://www.redbubble.com/people/neutreno/works/34387919-academic)
|
- [Decorate your laptop or journal with an Academic sticker](https://www.redbubble.com/people/neutreno/works/34387919-academic)
|
||||||
|
- [Wear the T-shirt](https://academic.threadless.com/)
|
||||||
|
|
||||||
[](https://github.com/gcushen/hugo-academic/)
|
[](https://github.com/gcushen/hugo-academic/)
|
||||||
|
|
||||||
|
@ -30,13 +31,17 @@ Follow our easy [step by step guide](https://sourcethemes.com/academic/docs/inst
|
||||||
|
|
||||||
Academic is available in different color themes and font themes.
|
Academic is available in different color themes and font themes.
|
||||||
|
|
||||||
| `default` | `ocean` | `dark` |
|
| `default` | `ocean` | `forest` | `dark` |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- | --- |
|
||||||
|  |  |  |
|
|  |  |  |  |
|
||||||
|
|
||||||
| `forest` | `coffee` + `playfair` font | `1950s` |
|
| `apogee` | `1950s` | `coffee` | `cupcake` |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- | --- |
|
||||||
|  |  |  |
|
|  |  |  |  |
|
||||||
|
|
||||||
|
## Ecosystem
|
||||||
|
|
||||||
|
**[Academic Admin](https://github.com/sourcethemes/academic-admin):** An admin tool to import publications from BibTeX or import assets for an offline site
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
|
20
data/themes/apogee.toml
Normal file
20
data/themes/apogee.toml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Theme metadata
|
||||||
|
name = "Apogee"
|
||||||
|
|
||||||
|
# Is theme light or dark?
|
||||||
|
light = false
|
||||||
|
|
||||||
|
# Primary
|
||||||
|
primary = "#EAF04E"
|
||||||
|
primary_light = "#F8FD74"
|
||||||
|
primary_dark = "#D7DE26"
|
||||||
|
|
||||||
|
# Menu
|
||||||
|
menu_primary = "#312450"
|
||||||
|
menu_text = "#F2BE4E"
|
||||||
|
menu_text_active = "#FFE1A0"
|
||||||
|
menu_title = "#E0A526"
|
||||||
|
|
||||||
|
# Home sections
|
||||||
|
home_section_odd = "#5e42a6"
|
||||||
|
home_section_even = "#5e42a6"
|
20
data/themes/cupcake.toml
Normal file
20
data/themes/cupcake.toml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Theme metadata
|
||||||
|
name = "Cupcake"
|
||||||
|
|
||||||
|
# Is theme light or dark?
|
||||||
|
light = true
|
||||||
|
|
||||||
|
# Primary
|
||||||
|
primary = "#EC407A"
|
||||||
|
primary_light = "#F793B5"
|
||||||
|
primary_dark = "#CD0045"
|
||||||
|
|
||||||
|
# Menu
|
||||||
|
menu_primary = "#BE37C7"
|
||||||
|
menu_text = "#FFB298"
|
||||||
|
menu_text_active = "#fff"
|
||||||
|
menu_title = "#FFB298"
|
||||||
|
|
||||||
|
# Home sections
|
||||||
|
home_section_odd = "#FFB298"
|
||||||
|
home_section_even = "#FFB298"
|
|
@ -98,7 +98,7 @@ enableGitInfo = false
|
||||||
# SITE SETUP
|
# SITE SETUP
|
||||||
|
|
||||||
# Color theme.
|
# Color theme.
|
||||||
# Choose from `default`, `ocean`, `forest`, `coffee`, `dark`, or `1950s`.
|
# Choose from `default`, `ocean`, `forest`, `dark`, `apogee`, `1950s`, `coffee`, `cupcake`.
|
||||||
color_theme = "default"
|
color_theme = "default"
|
||||||
|
|
||||||
# Font style.
|
# Font style.
|
||||||
|
|
|
@ -32,6 +32,11 @@ album = "1"
|
||||||
image = "https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-ocean.png"
|
image = "https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-ocean.png"
|
||||||
caption = "Ocean"
|
caption = "Ocean"
|
||||||
|
|
||||||
|
[[gallery_item]]
|
||||||
|
album = "1"
|
||||||
|
image = "https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-forest.png"
|
||||||
|
caption = "Forest"
|
||||||
|
|
||||||
[[gallery_item]]
|
[[gallery_item]]
|
||||||
album = "1"
|
album = "1"
|
||||||
image = "https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-dark.png"
|
image = "https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-dark.png"
|
||||||
|
@ -39,8 +44,13 @@ caption = "Dark"
|
||||||
|
|
||||||
[[gallery_item]]
|
[[gallery_item]]
|
||||||
album = "1"
|
album = "1"
|
||||||
image = "https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-forest.png"
|
image = "https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-apogee.png"
|
||||||
caption = "Default"
|
caption = "Apogee"
|
||||||
|
|
||||||
|
[[gallery_item]]
|
||||||
|
album = "1"
|
||||||
|
image = "https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-1950s.png"
|
||||||
|
caption = "1950s"
|
||||||
|
|
||||||
[[gallery_item]]
|
[[gallery_item]]
|
||||||
album = "1"
|
album = "1"
|
||||||
|
@ -49,8 +59,8 @@ caption = "Coffee theme with Playfair font"
|
||||||
|
|
||||||
[[gallery_item]]
|
[[gallery_item]]
|
||||||
album = "1"
|
album = "1"
|
||||||
image = "https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-1950s.png"
|
image = "https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/theme-cupcake.png"
|
||||||
caption = "1950s"
|
caption = "Cupcake"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
**Academic** makes it easy to create a beautiful website for free using Markdown. Customize anything on your site with widgets, themes, and language packs.
|
**Academic** makes it easy to create a beautiful website for free using Markdown. Customize anything on your site with widgets, themes, and language packs.
|
||||||
|
@ -84,6 +94,10 @@ Academic is available in different color themes and font themes.
|
||||||
|
|
||||||
{{< gallery >}}
|
{{< gallery >}}
|
||||||
|
|
||||||
|
## Ecosystem
|
||||||
|
|
||||||
|
**[Academic Admin](https://github.com/sourcethemes/academic-admin):** An admin tool to import publications from BibTeX or import assets for an offline site
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
You can choose from one of the following four methods to install:
|
You can choose from one of the following four methods to install:
|
||||||
|
|
BIN
images/theme-apogee.png
Normal file
BIN
images/theme-apogee.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
BIN
images/theme-cupcake.png
Normal file
BIN
images/theme-cupcake.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
|
@ -629,6 +629,10 @@ ul.share li i {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dark ul.share li i {
|
||||||
|
color: rgb(68, 71, 90);
|
||||||
|
}
|
||||||
|
|
||||||
ul.share li a {
|
ul.share li a {
|
||||||
background-color: #b5c6ce;
|
background-color: #b5c6ce;
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -1284,12 +1288,22 @@ a.badge:hover {
|
||||||
border-color: {{ .Get "primary" }};
|
border-color: {{ .Get "primary" }};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dark .btn-outline-primary:not(:disabled):not(.disabled).active,
|
||||||
|
.dark .btn-outline-primary:not(:disabled):not(.disabled):active,
|
||||||
|
.dark .show > .btn-outline-primary.dropdown-toggle {
|
||||||
|
color: rgb(68, 71, 90);
|
||||||
|
}
|
||||||
|
|
||||||
.btn-outline-primary:hover {
|
.btn-outline-primary:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: {{ .Get "primary" }};
|
background-color: {{ .Get "primary" }};
|
||||||
border-color: {{ .Get "primary" }};
|
border-color: {{ .Get "primary" }};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dark .btn-outline-primary:hover {
|
||||||
|
color: rgb(68, 71, 90);
|
||||||
|
}
|
||||||
|
|
||||||
/*************************************************
|
/*************************************************
|
||||||
* Toolbar Buttons
|
* Toolbar Buttons
|
||||||
**************************************************/
|
**************************************************/
|
||||||
|
@ -1438,7 +1452,6 @@ nav#navbar-main li.nav-item {
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-light .navbar-brand {
|
.navbar-light .navbar-brand {
|
||||||
text-transform: uppercase;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
color: {{ .Get "menu_title" }};
|
color: {{ .Get "menu_title" }};
|
||||||
|
@ -1898,10 +1911,15 @@ body.dark,
|
||||||
.dark .docs-sidebar .nav > li:not(.active) > a,
|
.dark .docs-sidebar .nav > li:not(.active) > a,
|
||||||
.dark .modal button.close,
|
.dark .modal button.close,
|
||||||
.dark input,
|
.dark input,
|
||||||
|
.dark .form-control,
|
||||||
.dark .form-control:focus {
|
.dark .form-control:focus {
|
||||||
color: rgb(248, 248, 242);
|
color: rgb(248, 248, 242);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dark .form-control {
|
||||||
|
background-color: rgb(68, 71, 90);
|
||||||
|
}
|
||||||
|
|
||||||
.dark .form-control:focus {
|
.dark .form-control:focus {
|
||||||
background-color: rgb(68, 71, 90);
|
background-color: rgb(68, 71, 90);
|
||||||
border-color: {{ .Get "primary" }};
|
border-color: {{ .Get "primary" }};
|
||||||
|
@ -2035,3 +2053,8 @@ body.dark,
|
||||||
.dark a.badge:hover {
|
.dark a.badge:hover {
|
||||||
color: rgba(255, 255, 255, .68);
|
color: rgba(255, 255, 255, .68);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dark .btn-primary,
|
||||||
|
.dark .btn.btn-primary.active {
|
||||||
|
color: initial;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue