File tree Expand file tree Collapse file tree 2 files changed +26
-24
lines changed
Expand file tree Collapse file tree 2 files changed +26
-24
lines changed Original file line number Diff line number Diff line change 3232 < aside id ="sidebar " class ="sidebar ">
3333 < h2 > Equations</ h2 >
3434 < nav id ="equation-selector " class ="equation-selector "> </ nav >
35+
36+ < footer class ="sidebar-footer ">
37+ < p >
38+ Demo by < a href ="https://p.migdal.pl " target ="_blank " rel ="noopener "> Piotr Migdał</ a >
39+ </ p >
40+ < p >
41+ Source: < a href ="https://github.com/stared/equations-explained-colorfully " target ="_blank " rel ="noopener "> github.com/stared/equations-explained-colorfully</ a >
42+ </ p >
43+ < p >
44+ For more on interactive explanations, see:
45+ < a href ="https://p.migdal.pl/blog/2024/05/science-games-explorable-explanations/ " target ="_blank " rel ="noopener "> Science, games, and explorable explanations</ a >
46+ </ p >
47+ </ footer >
3548 </ aside >
3649
3750 < main id ="main-content " class ="main-content ">
@@ -45,17 +58,6 @@ <h1 id="equation-title">Interactive Equations</h1>
4558 < div id ="static-description " class ="static-description "> </ div >
4659
4760 < div id ="hover-explanation " class ="hover-explanation "> </ div >
48-
49- < footer class ="footer ">
50- < p >
51- Demo by < a href ="https://p.migdal.pl " target ="_blank " rel ="noopener "> Piotr Migdał</ a > ·
52- < a href ="https://github.com/stared/equations-explained-colorfully " target ="_blank " rel ="noopener "> View source on GitHub</ a >
53- </ p >
54- < p >
55- For more on interactive explanations, see:
56- < a href ="https://p.migdal.pl/blog/2024/05/science-games-explorable-explanations/ " target ="_blank " rel ="noopener "> Science, games, and explorable explanations</ a >
57- </ p >
58- </ footer >
5961 </ main >
6062
6163 < aside id ="editor-sidebar " class ="editor-sidebar ">
Original file line number Diff line number Diff line change @@ -295,30 +295,30 @@ h1 {
295295 opacity : 1 ;
296296}
297297
298- /* Footer */
299- .footer {
300- margin-top : auto; /* Push to bottom */
301- padding-top : 3 rem ;
298+ /* Sidebar Footer */
299+ .sidebar- footer {
300+ margin-top : auto;
301+ padding-top : 2 rem ;
302302 font-family : var (--font-ui );
303303 font-size : 0.8125rem ;
304- color : var (--text-tertiary );
305- text-align : center;
304+ color : var (--text-secondary ); /* Darker text */
305+ /* text-align: center; */
306306}
307307
308- .footer p {
308+ .sidebar- footer p {
309309 margin : 0.5rem 0 ;
310+ line-height : 1.5 ;
310311}
311312
312- .footer a {
313- color : var (--text-secondary );
313+ .sidebar- footer a {
314+ color : var (--accent-color );
314315 text-decoration : none;
315- border-bottom : 1 px dotted var ( --border-color ) ;
316+ border-bottom : none ;
316317 transition : all 0.2s ease;
317318}
318319
319- .footer a : hover {
320- color : var (--accent-color );
321- border-bottom-color : var (--accent-color );
320+ .sidebar-footer a : hover {
321+ text-decoration : underline;
322322}
323323
324324/* Editor Sidebar */
You can’t perform that action at this time.
0 commit comments