Better phone display for postamble
This commit is contained in:
		
							parent
							
								
									41d368e09c
								
							
						
					
					
						commit
						57dc7216cc
					
				@ -17,7 +17,11 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/* Variables *****************************************************************/
 | 
					/* Variables *****************************************************************/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$switch-title-size: "only screen and (max-width: 600px)";
 | 
					$switch-small-screen: "only screen and (max-width: 600px)";
 | 
				
			||||||
 | 
					$switch-smaller-screen: "only screen and (max-width: 400px)";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$navbar-height: 70px;
 | 
				
			||||||
 | 
					$postamble-height: 55px;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Themes /////////////////////////////////////////////////////////////////////
 | 
					// Themes /////////////////////////////////////////////////////////////////////
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -65,9 +69,6 @@ $gradient-accent3-dark-right:  linear-gradient(to right, $dark,   $accent3);
 | 
				
			|||||||
$gradient-accent3-light-left:  linear-gradient(to left,  $light,  $accent3);
 | 
					$gradient-accent3-light-left:  linear-gradient(to left,  $light,  $accent3);
 | 
				
			||||||
$gradient-accent3-light-right: linear-gradient(to right, $light,  $accent3);
 | 
					$gradient-accent3-light-right: linear-gradient(to right, $light,  $accent3);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$navbar-height: 70px;
 | 
					 | 
				
			||||||
$postamble-height: 55px;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.light {
 | 
					.light {
 | 
				
			||||||
    $bg-nav: $gradient-accent3-light-right;
 | 
					    $bg-nav: $gradient-accent3-light-right;
 | 
				
			||||||
    $border-color: $accent1;
 | 
					    $border-color: $accent1;
 | 
				
			||||||
@ -287,7 +288,7 @@ header {
 | 
				
			|||||||
    .title {
 | 
					    .title {
 | 
				
			||||||
        font-size: 5em;
 | 
					        font-size: 5em;
 | 
				
			||||||
        margin: 0;
 | 
					        margin: 0;
 | 
				
			||||||
        @media #{$switch-title-size} {
 | 
					        @media #{$switch-small-screen} {
 | 
				
			||||||
            font-size: 3em;
 | 
					            font-size: 3em;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@ -415,6 +416,16 @@ header {
 | 
				
			|||||||
    grid-template-areas: 'author email date';
 | 
					    grid-template-areas: 'author email date';
 | 
				
			||||||
    height: $postamble-height;
 | 
					    height: $postamble-height;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @media #{$switch-small-screen} {
 | 
				
			||||||
 | 
					        grid-template-areas: 'author date' 'email email';
 | 
				
			||||||
 | 
					        height: $postamble-height + 20px;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @media #{$switch-smaller-screen} {
 | 
				
			||||||
 | 
					        grid-template-areas: 'author' 'date' 'email';
 | 
				
			||||||
 | 
					        height: $postamble-height + 40px;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    font-size: 0.8em;
 | 
					    font-size: 0.8em;
 | 
				
			||||||
    align-content: space-evenly;
 | 
					    align-content: space-evenly;
 | 
				
			||||||
    text-align: center;
 | 
					    text-align: center;
 | 
				
			||||||
@ -438,7 +449,7 @@ h1, h2, h3, h4, h5, h6 {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
h2 {
 | 
					h2 {
 | 
				
			||||||
    font-size: 2.5em;
 | 
					    font-size: 2.5em;
 | 
				
			||||||
    @media #{$switch-title-size} {
 | 
					    @media #{$switch-small-screen} {
 | 
				
			||||||
        font-size: 1.75em;
 | 
					        font-size: 1.75em;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -446,7 +457,7 @@ h2 {
 | 
				
			|||||||
h3 {
 | 
					h3 {
 | 
				
			||||||
    font-size: 2em;
 | 
					    font-size: 2em;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @media #{$switch-title-size} {
 | 
					    @media #{$switch-small-screen} {
 | 
				
			||||||
        font-size: 1.5em;
 | 
					        font-size: 1.5em;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -454,7 +465,7 @@ h3 {
 | 
				
			|||||||
h4 {
 | 
					h4 {
 | 
				
			||||||
    font-size: 1.5em;
 | 
					    font-size: 1.5em;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @media #{$switch-title-size} {
 | 
					    @media #{$switch-small-screen} {
 | 
				
			||||||
        font-size: 1.3em;
 | 
					        font-size: 1.3em;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -462,7 +473,7 @@ h4 {
 | 
				
			|||||||
h5 {
 | 
					h5 {
 | 
				
			||||||
    font-size: 1.25em;
 | 
					    font-size: 1.25em;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @media #{$switch-title-size} {
 | 
					    @media #{$switch-small-screen} {
 | 
				
			||||||
        font-size: 1.2em;
 | 
					        font-size: 1.2em;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user