About me link
This commit is contained in:
		
							parent
							
								
									3e7875d444
								
							
						
					
					
						commit
						2ee4d8757d
					
				
					 3 changed files with 25 additions and 1 deletions
				
			
		|  | @ -58,10 +58,28 @@ a { | |||
| } | ||||
| 
 | ||||
| .-container { | ||||
|   position: relative; | ||||
|   max-width: 40rem; | ||||
|   margin: 0 auto; | ||||
| } | ||||
| 
 | ||||
| .about-link { | ||||
|   transition: top .15s ease-out; | ||||
|   position: absolute; | ||||
|   top: -5px; | ||||
|   right: 20px; | ||||
| } | ||||
| 
 | ||||
| .about-link:hover, | ||||
| .about-link:focus { | ||||
|   top: 0; | ||||
| } | ||||
| 
 | ||||
| .about-link-image { | ||||
|   height: 60px; | ||||
|   border-radius: 0  0 50% 50%; | ||||
| } | ||||
| 
 | ||||
| .tag { | ||||
|   padding: 0 .3em; | ||||
|   border-radius: 3px; | ||||
|  |  | |||
|  | @ -19,6 +19,9 @@ | |||
|           <use xlink:href="./assets/spritesheet.svg#menu" /> | ||||
|       </svg> | ||||
|     </a> | ||||
|     <a href="#" class="about-link"> | ||||
|       <img class="about-link-image" src="./assets/avatar-small.png" alt="About Joe Wroten" /> | ||||
|     </a> | ||||
|   </header> | ||||
|   <main class="index-top -container -pad-h"> | ||||
|     <h1 class="intro"> | ||||
|  |  | |||
|  | @ -15,12 +15,15 @@ | |||
| </head> | ||||
| <body class="interior -{{pageType}}"> | ||||
|   <header class="interior-header"> | ||||
|     <div class="interior-topbar -pad-h -pad-v"> | ||||
|     <div class="interior-topbar -container -pad-h -pad-v"> | ||||
|       <a href="/"> | ||||
|         <svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||||
|             <use xlink:href="./assets/spritesheet.svg#back" /> | ||||
|         </svg> | ||||
|       </a> | ||||
|       <a href="#" class="about-link"> | ||||
|         <img class="about-link-image" src="./assets/avatar-small.png" alt="About Joe Wroten" /> | ||||
|       </a> | ||||
|     </div> | ||||
|     <div class="interior-headline -{{pageType}} -pad-h -pad-v"> | ||||
|       <h1 class="-container"> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Joe Wroten
						Joe Wroten