Compare commits
	
		
			1 Commits
		
	
	
		
			4acfe1d027
			...
			900fe7ed06
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 900fe7ed06 | 
| @@ -39,7 +39,7 @@ header h1, header h1 a | ||||
|     color: $text | ||||
|     text-decoration: none | ||||
|     padding: 0 | ||||
|     transition: color 0.4s | ||||
|     transition: color 0.4s ease-in-out | ||||
|     &:hover, &:focus | ||||
|         color: $accent-light | ||||
|  | ||||
| @@ -67,9 +67,10 @@ nav ul li a | ||||
|     color: $text | ||||
|     text-decoration: none | ||||
|     font-weight: 500 | ||||
|     transition: background 0.4s | ||||
|     transition: background 0.4s ease-in-out | ||||
|     &:hover, &:focus | ||||
|         background: $accent-dark | ||||
|         color: $text | ||||
|  | ||||
| @media (max-width: 600px) | ||||
|     header | ||||
|   | ||||
| @@ -1,5 +1,12 @@ | ||||
| /* _text.sass */ | ||||
|  | ||||
| a | ||||
|     color: $primary | ||||
|     text-decoration: underline | ||||
|     transition: color 0.3s ease-in-out | ||||
|     &:hover, &:focus | ||||
|         color: $accent | ||||
|  | ||||
| #quick-links | ||||
|     text-align: left | ||||
|  | ||||
| @@ -31,6 +38,6 @@ | ||||
|     color: $darkest | ||||
|     text-decoration: none | ||||
|     font-weight: 500 | ||||
|     transition: background 0.4s | ||||
|     transition: background 0.3s ease-in-out | ||||
|     &:hover, &:focus | ||||
|         background: $accent-light | ||||
|   | ||||
							
								
								
									
										13
									
								
								assets/sass/_publications.sass
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								assets/sass/_publications.sass
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| #publications | ||||
|     ul | ||||
|         list-style: none | ||||
|         margin: 0 | ||||
|         padding: 0 | ||||
|         display: flex | ||||
|         flex-direction: column | ||||
|         gap: 1em | ||||
|  | ||||
|         li | ||||
|             background: $surface | ||||
|             border-radius: 8px | ||||
|             padding: 1em 1.5em | ||||
| @@ -7,40 +7,37 @@ table#taxonomy-table | ||||
|     background: $surface | ||||
|     text-align: left | ||||
|  | ||||
|     tr:nth-child(even) | ||||
|     tr | ||||
|         border-bottom: 3px solid $background | ||||
|         &:nth-child(even) | ||||
|             background: darken($surface, 2%) | ||||
|         transition: background 0.4s | ||||
|     tr:nth-child(odd) | ||||
|             transition: background 0.4s ease-in-out | ||||
|         &:nth-child(odd) | ||||
|             background: lighten($surface, 3%) | ||||
|         transition: background 0.4s | ||||
|     tr:hover, tr:focus | ||||
|             transition: background 0.4s ease-in-out | ||||
|         &:hover, &:focus | ||||
|             background: $border | ||||
|  | ||||
| #taxonomy-table thead | ||||
|     thead | ||||
|         text-align: left | ||||
|         border: none | ||||
|         background: $darkest | ||||
|         border-radius: $border-radius $border-radius 0 0 | ||||
|  | ||||
| #taxonomy-table th | ||||
|     th | ||||
|         color: $text | ||||
|         padding: 0.6rem 0.6rem | ||||
|         text-align: left | ||||
|         font-weight: 600 | ||||
|         border: none | ||||
|  | ||||
| #taxonomy-table td | ||||
|     td | ||||
|         padding: 0.3rem 0.6rem | ||||
|         text-align: left | ||||
|         font-weight: 600 | ||||
|         border: none | ||||
|  | ||||
| #taxonomy-table tr | ||||
|     border-bottom: 3px solid $background | ||||
|     &:hover, &:focus | ||||
|         background: $primary-light | ||||
|  | ||||
| #taxonomy-table a.term-link | ||||
|     a.term-link | ||||
|         padding: 0.2rem 0.6rem | ||||
|         margin: 0.2rem | ||||
|         display: inline-block | ||||
| @@ -48,11 +45,12 @@ table#taxonomy-table | ||||
|         text-decoration: none | ||||
|         font-weight: 500 | ||||
|         color: $text | ||||
|     transition: color 0.4s | ||||
|         transition: color 0.4s ease-in-out, background 0.4s ease-in-out | ||||
|         &:hover, &:focus | ||||
|         color: $darkest | ||||
|             color: $darkest !important | ||||
|             background: $text-subtle !important | ||||
|  | ||||
| #taxonomy-table a.taxonomy-name | ||||
|     a.taxonomy-name | ||||
|         padding: 0 | ||||
|         margin: 0.2rem | ||||
|         display: inline-block | ||||
| @@ -60,7 +58,7 @@ table#taxonomy-table | ||||
|         text-decoration: none | ||||
|         font-weight: 500 | ||||
|         color: $text | ||||
|     transition: color 0.4s | ||||
|         transition: color 0.4s ease-in-out | ||||
|         &:hover, &:focus | ||||
|             color: $accent-light | ||||
|  | ||||
| @@ -72,7 +70,7 @@ table#taxonomy-table | ||||
|     text-decoration: none | ||||
|     font-weight: 500 | ||||
|     color: $text | ||||
|     transition: color 0.4s | ||||
|     transition: color 0.4s ease-in-out | ||||
|     font-size: 1.2rem | ||||
|     &:hover, &:focus | ||||
|         color: $darkest | ||||
|   | ||||
| @@ -3,3 +3,4 @@ | ||||
| @import "layout" | ||||
| @import "taxonomy" | ||||
| @import "links" | ||||
| @import "publications" | ||||
| @@ -26,8 +26,10 @@ | ||||
|     <h2>At a Glance</h2> | ||||
|     <table id="taxonomy-table"> | ||||
|       <tbody> | ||||
|         {{ $params := .Params }} | ||||
|         {{ range $taxonomyname, $taxonomy := .Site.Taxonomies }} | ||||
|         {{ with $taxonomy }} | ||||
|           {{ $terms := index $params $taxonomyname }} | ||||
|           {{ if $terms }} | ||||
|           <tr> | ||||
|             <td> | ||||
|               <a  | ||||
| @@ -37,8 +39,8 @@ | ||||
|             </a> | ||||
|           </td> | ||||
|           <td> | ||||
|             {{ range $key, $value := $taxonomy }} | ||||
|               {{ partial "term-link.html" (dict "name" $key "taxonomy" $taxonomyname) }} | ||||
|             {{ range $term := $terms }} | ||||
|               {{ partial "term-link.html" (dict "name" $term "taxonomy" $taxonomyname) }} | ||||
|             {{ end }} | ||||
|           </td> | ||||
|         </tr> | ||||
| @@ -54,21 +56,29 @@ | ||||
|   </section> | ||||
|    | ||||
|   {{ with .Params.publications}} | ||||
|   <section> | ||||
|   <section id="publications"> | ||||
|     <h2>Publications</h2> | ||||
|     <ul> | ||||
|       {{ range $citation, $pub := site.Data.publications }} | ||||
|       {{ range $pub }} | ||||
|       {{ if in $.Params.publications .key }} | ||||
|       <li> | ||||
|         {{ if .year }} <strong>{{ .year }}</strong>: {{ end }} | ||||
|         {{ if .title }} <em>{{ .title }}</em> {{ end }} | ||||
|         {{ if .author }} <br /> by {{ delimit .author " | " | html }} {{ end }} | ||||
|         {{ if .booktitle }} <br />Appears in <em>{{ .booktitle }}</em> {{ end }} | ||||
|         {{ if .journal }} <br />Appears in <em>{{ .journal }}</em> {{ end }} | ||||
|         {{ if .volume }} <strong>{{ .volume }}</strong> {{ end }} | ||||
|         {{ if .title }} <strong>{{ .title }}</strong> {{ end }} | ||||
|         {{ if .year }} | ||||
|         {{ if .month }} | ||||
|           ({{ .month }} {{.year }})  | ||||
|         {{ else }} | ||||
|           ({{ .year }})  | ||||
|         {{ end }} | ||||
|         {{ end }} | ||||
|         {{ if .author }} by {{ index .author 0 }}{{ if (gt (len .author) 1) }} et. al. {{ end }}{{ end }} | ||||
|         {{ if .booktitle }}  | Appears in <em>{{ .booktitle }}</em> {{ end }} | ||||
|         {{ if .pages }} ({{ .pages }}) {{ end }} | ||||
|         {{ if .doi }} <br /><a href="https://doi.org/{{ . }}" target="_blank" rel="noopener">DOI: {{ .doi }}</a> {{ end }} | ||||
|         {{ if .journal }}  | Appears in <em>{{ .journal }}</em> {{ end }} | ||||
|         {{ if .volume }} | Volume {{ .volume }} {{ end }} | ||||
|         {{ if .publisher }}  | Published by <em>{{ .publisher }}</em> {{ end }} | ||||
|         {{ if .doi }} <br /><a href="https://doi.org/{{ . }}" target="_blank" rel="noopener">{{ .doi }}</a>  | ||||
|         {{ else if .url }} <br /><a href="{{ . }}" target="_blank" rel="noopener">{{ .url }}</a> {{ end }} | ||||
|       </li> | ||||
|       {{ end }} | ||||
|       {{ end }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user