Skip to content

Commit 55a371a

Browse files
authored
Updating theme to hugo-theme-relearn. (#461)
1 parent 844ffd0 commit 55a371a

File tree

4 files changed

+286
-1
lines changed

4 files changed

+286
-1
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[submodule "themes/hugo-theme-learn"]
22
path = themes/hugo-theme-learn
33
url = https://github.com/matcornic/hugo-theme-learn.git
4+
[submodule "themes/hugo-theme-relearn"]
5+
path = themes/hugo-theme-relearn
6+
url = https://github.com/McShelby/hugo-theme-relearn

assets/css/theme-mine.css

Lines changed: 281 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,281 @@
1+
2+
:root{
3+
4+
--MAIN-TEXT-color:#232F3E; /* Color of text by default */
5+
--MAIN-TITLES-TEXT-color: #161E2D; /* Color of titles h2-h3-h4-h5 */
6+
--MAIN-LINK-color:#95b0ff; /* Color of links */
7+
--MAIN-LINK-HOVER-color:#527FFF; /* Color of hovered links */
8+
--MAIN-ANCHOR-color: #95b0ff; /* color of anchors on titles */
9+
10+
--MENU-HEADER-BG-color:#161E2D; /* Background color of menu header */
11+
--MENU-HEADER-BORDER-color:#161E2D; /*Color of menu header border */
12+
13+
--MENU-SEARCH-BG-color:#202c3c; /* Search field background color (by default borders + icons) */
14+
--MENU-SEARCH-BOX-color: #4d6584; /* Override search field border color */
15+
--MENU-SEARCH-BOX-ICONS-color: #4d6584; /* Override search field icons color */
16+
17+
--MENU-SECTIONS-ACTIVE-BG-color:#232F3E; /* Background color of the active section and its childs */
18+
--MENU-SECTIONS-BG-color:#161E2D; /* Background color of other sections */
19+
--MENU-SECTIONS-TEXT-color: #FF9900; /*Color of pre text */
20+
--MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */
21+
--MENU-SECTIONS-LINK-HOVER-color: #e6e6e6; /* Color of links in menu, when hovered */
22+
--MENU-SECTION-ACTIVE-CATEGORY-color: #232F3E; /* Color of active category text */
23+
--MENU-SECTION-ACTIVE-CATEGORY-BG-color: #FF9900; /* Color of background for the active category (only) */
24+
--MENU-SECTION-ACTIVE-CATEGORY-TEXT-color: #fff; /* Color of pre text when selected */
25+
26+
--MENU-VISITED-color: #527FFF; /* Color of 'page visited' icons in menu */
27+
--MENU-SECTION-HR-color: #20272b; /* Color of <hr> separator in menu */
28+
29+
}
30+
31+
@font-face {
32+
font-family: 'Amazon Ember';
33+
src: url("https://fonts.workshops.aws/webfonts/AmazonEmber_W_Lt.eot");
34+
src: url("https://fonts.workshops.aws/webfonts/AmazonEmber_W_Lt.eot?#iefix") format("embedded-opentype"), url("https://fonts.workshops.aws/webfonts/AmazonEmber_W_Lt.woff2") format("woff2"), url("https://fonts.workshops.aws/webfonts/AmazonEmber_W_Lt.woff") format("woff");
35+
font-style: normal;
36+
font-weight: 200;
37+
}
38+
39+
@font-face {
40+
font-family: 'Amazon Ember';
41+
src: url("https://fonts.workshops.aws/webfonts/AmazonEmber_W_Bd.eot");
42+
src: url("https://fonts.workshops.aws/webfonts/AmazonEmber_W_Bd.eot?#iefix") format("embedded-opentype"), url("https://fonts.workshops.aws/webfonts/AmazonEmber_W_Bd.woff2") format("woff2"), url("https://fonts.workshops.aws/webfonts/AmazonEmber_W_Lt.woff") format("woff");
43+
font-style: bold;
44+
font-weight: 400;
45+
}
46+
47+
body {
48+
font-family: "Amazon Ember", "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
49+
color: var(--MAIN-TEXT-color) !important;
50+
}
51+
52+
#chapter h3 {
53+
font-family: "Amazon Ember","Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
54+
}
55+
56+
textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
57+
border-color: none;
58+
box-shadow: none;
59+
}
60+
61+
h2, h3, h4, h5, h6 {
62+
font-family: "Amazon Ember", "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
63+
color: var(--MAIN-TITLES-TEXT-color) !important;
64+
}
65+
66+
h1 {
67+
font-family: "Amazon Ember", "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
68+
}
69+
70+
a {
71+
color: var(--MAIN-LINK-color);
72+
}
73+
74+
.anchor {
75+
color: var(--MAIN-ANCHOR-color);
76+
}
77+
78+
a:hover {
79+
color: var(--MAIN-LINK-HOVER-color);
80+
}
81+
82+
#sidebar ul li.visited > a .read-icon {
83+
color: var(--MENU-VISITED-color);
84+
}
85+
86+
#sidebar #footer {
87+
padding-top: 20px !important;
88+
}
89+
90+
#sidebar #footer h2.github-title {
91+
font-size: 20px;
92+
color: #fd9827 !important;
93+
margin: 10px 0px 5px;
94+
padding: 0px;
95+
font-weight: normal !important;
96+
margin-top: 10px;
97+
padding-top: 30px;
98+
border-top: 1px dotted #384657;
99+
}
100+
101+
#sidebar #footer h3.github-title {
102+
font-size: 14px;
103+
margin: 10px 0px 5px;
104+
padding: 0px;
105+
text-transform: uppercase;
106+
letter-spacing: .15px;
107+
}
108+
109+
#sidebar #footer h5.copyright, #sidebar #footer p.build-number {
110+
color: var(--MENU-SECTIONS-LINK-color) !important;
111+
font-size: 10px;
112+
letter-spacing: .15px;
113+
line-height: 150% !important;
114+
}
115+
116+
#body a.highlight:after {
117+
display: block;
118+
content: "";
119+
height: 1px;
120+
width: 0%;
121+
-webkit-transition: width 0.5s ease;
122+
-moz-transition: width 0.5s ease;
123+
-ms-transition: width 0.5s ease;
124+
transition: width 0.5s ease;
125+
background-color: var(--MAIN-LINK-HOVER-color);
126+
}
127+
#sidebar {
128+
background-color: var(--MENU-SECTIONS-BG-color);
129+
}
130+
#sidebar #header-wrapper {
131+
background: var(--MENU-HEADER-BG-color);
132+
color: var(--MENU-SEARCH-BOX-color);
133+
border-color: var(--MENU-HEADER-BORDER-color);
134+
}
135+
#sidebar .searchbox {
136+
border-color: var(--MENU-SEARCH-BOX-color);
137+
background: var(--MENU-SEARCH-BG-color);
138+
}
139+
#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
140+
background: var(--MENU-SECTIONS-ACTIVE-BG-color);
141+
}
142+
#sidebar .searchbox * {
143+
color: var(--MENU-SEARCH-BOX-ICONS-color);
144+
}
145+
146+
#sidebar a {
147+
color: var(--MENU-SECTIONS-LINK-color);
148+
}
149+
150+
#sidebar a b {
151+
color: var(--MENU-SECTIONS-TEXT-color);
152+
}
153+
154+
#sidebar a:hover {
155+
color: var(--MENU-SECTIONS-LINK-HOVER-color);
156+
}
157+
158+
#sidebar ul li.active > a {
159+
background: var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color);
160+
color: var(--MENU-SECTION-ACTIVE-CATEGORY-color) !important;
161+
}
162+
163+
#sidebar ul.topics > li > a b {
164+
color: var(--MENU-SECTION-ACTIVE-CATEGORY-TEXT-color) !important;
165+
opacity: 1;
166+
}
167+
168+
#sidebar hr {
169+
border-color: var(--MENU-SECTION-HR-color);
170+
}
171+
172+
#sidebar #shortcuts h3 {
173+
font-family: "Amazon Eber", "Novacento Sans Wide", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
174+
color: white !important;
175+
margin-top:1rem;
176+
padding-left: 1rem;
177+
}
178+
179+
#navigation a.nav-prev, #navigation a.nav-next {
180+
color: #f19e39 !important;
181+
}
182+
183+
#navigation a.nav-prev:hover, #navigation a.nav-next:hover {
184+
color: #e07d04 !important;
185+
}
186+
187+
div.notices p:first-child:before {
188+
position: absolute;
189+
top: 2px;
190+
color: #fff;
191+
font-family: 'Font Awesome\ 5 Free';
192+
content: #F06A;
193+
font-weight: 900; /* Fix version 5.0.9 */
194+
left: 10px;
195+
}
196+
197+
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
198+
border: 1px solid #dddddd;
199+
font-weight: normal;
200+
color: #454545;
201+
}
202+
203+
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
204+
border: 1px solid var(--MENU-HEADER-BG-color);
205+
background: var(--MENU-HEADER-BG-color);
206+
font-weight: normal;
207+
color: #fff;
208+
}
209+
210+
.ui-widget.ui-widget-content {
211+
border: 1px solid #eeeeee;
212+
}
213+
214+
.ui-widget-header {
215+
border: 1px solid #eeeeee;
216+
}
217+
218+
.hljs {
219+
background-color: none;
220+
}
221+
222+
pre {
223+
background-color: var(--MENU-SECTIONS-BG-color) !important;
224+
}
225+
226+
div.notices.info p {
227+
border-top: 30px solid #fd9827;
228+
background: #FFF2DB;
229+
}
230+
231+
.btn {
232+
display: inline-block !important;
233+
padding: 6px 12px !important;
234+
margin-bottom: 0 !important;
235+
font-size: 14px !important;
236+
font-weight: normal !important;
237+
line-height: 1.42857143 !important;
238+
text-align: center !important;
239+
white-space: nowrap !important;
240+
vertical-align: middle !important;
241+
-ms-touch-action: manipulation !important;
242+
touch-action: manipulation !important;
243+
cursor: pointer !important;
244+
-webkit-user-select: none !important;
245+
-moz-user-select: none !important;
246+
-ms-user-select: none !important;
247+
user-select: none !important;
248+
background-image: none !important;
249+
border: 1px solid transparent !important;
250+
border-radius: 4px !important;
251+
-webkit-transition: all 0.15s !important;
252+
-moz-transition: all 0.15s !important;
253+
transition: all 0.15s !important;
254+
}
255+
.btn:focus {
256+
/*outline: thin dotted;
257+
outline: 5px auto -webkit-focus-ring-color;
258+
outline-offset: -2px;*/
259+
outline: none !important;
260+
}
261+
.btn:hover,
262+
.btn:focus {
263+
color: #2b2b2b !important;
264+
text-decoration: none !important;
265+
}
266+
267+
.btn-default {
268+
color: #fff !important;
269+
background-color: #527FFF !important;
270+
border-color: #527FFF !important;
271+
}
272+
.btn-default:hover,
273+
.btn-default:focus,
274+
.btn-default:active {
275+
color: #fff !important;
276+
background-color: #95b0ff !important;
277+
border-color: #95b0ff !important;
278+
}
279+
.btn-default:active {
280+
background-image: none !important;
281+
}

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
baseURL = "https://www.hpcworkshops.com"
22
languageCode = "en-us"
33
title = "AWS HPC Workshops"
4-
theme = "hugo-theme-learn"
4+
theme = "hugo-theme-relearn"
55
uglyurls = true
66
sectionPagesMenu = "main"
77
pygmentsCodeFences = true

themes/hugo-theme-relearn

Submodule hugo-theme-relearn added at 41d0ca7

0 commit comments

Comments
 (0)