fix
This commit is contained in:
		
							parent
							
								
									6c22d44903
								
							
						
					
					
						commit
						77fa7c5c6c
					
				|  | @ -1,11 +1,36 @@ | ||||||
|  | <script type="text/javascript"> | ||||||
|  |   let vh = window.innerHeight * 0.01; | ||||||
|  |   document.documentElement.style.setProperty('--vh', `${vh}px`); | ||||||
|  |     window.addEventListener('resize', () => { | ||||||
|  |       let vh = window.innerHeight * 0.01; | ||||||
|  |       document.documentElement.style.setProperty('--vh', `${vh}px`); | ||||||
|  |     }); | ||||||
|  | </script> | ||||||
|  | 
 | ||||||
| <style type="text/css"> | <style type="text/css"> | ||||||
|     body { |     body { | ||||||
|         padding: 0; |         padding: 0; | ||||||
|         margin: 0; |         margin: 0; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     .title { | ||||||
|  |         display: block; | ||||||
|  |         font-weight: bold; | ||||||
|  | 
 | ||||||
|  |         font-size: 40px; | ||||||
|  |         margin-bottom: 8px; | ||||||
|  |     } | ||||||
|  |      | ||||||
|  |     .subtitle { | ||||||
|  |         display: block; | ||||||
|  | 
 | ||||||
|  |         font-size: 16px; | ||||||
|  |         margin-bottom: 38px; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     .home { |     .home { | ||||||
|         height: 100vh; |         height: 100vh; | ||||||
|  |         height: calc(var(--vh, 1vh) * 100); | ||||||
|         display: flex; |         display: flex; | ||||||
|         align-items: center; |         align-items: center; | ||||||
|         justify-content: center; |         justify-content: center; | ||||||
|  | @ -45,6 +70,17 @@ | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|     @media (max-width: 700px) { |     @media (max-width: 700px) { | ||||||
|  |         .title { | ||||||
|  |             font-size: 28px; | ||||||
|  |             margin-top: 2.4em; | ||||||
|  |             margin-bottom: 12px; | ||||||
|  |         } | ||||||
|  |          | ||||||
|  |         .subtitle { | ||||||
|  |             font-size: 16px; | ||||||
|  |             margin-bottom: 32px; | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|         .links { |         .links { | ||||||
|             flex-direction: column; |             flex-direction: column; | ||||||
|             align-items: flex-start; |             align-items: flex-start; | ||||||
|  | @ -65,8 +101,8 @@ | ||||||
| 
 | 
 | ||||||
| <div class="home"> | <div class="home"> | ||||||
|     <div class="card"> |     <div class="card"> | ||||||
|         <h1>Morgan J.</h1> |         <div class="title">Morgan J.</div> | ||||||
|         <h3>Average Linux user</h3> |         <div class="subtitle">Average Linux user</div> | ||||||
|         <div class="links"> |         <div class="links"> | ||||||
|             <li><a href="/about">/about</a></li> |             <li><a href="/about">/about</a></li> | ||||||
|             <li><a href="https://git.morgan.kr">/projects</a></li> |             <li><a href="https://git.morgan.kr">/projects</a></li> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue