86 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
			
		
		
	
	
			86 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
$background: #263238;
 | 
						|
$foreground: #fff;
 | 
						|
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
 | 
						|
 | 
						|
.roboto {
 | 
						|
    font-family: 'Roboto', sans-serif;
 | 
						|
}
 | 
						|
 | 
						|
body {
 | 
						|
    height: 100vh;
 | 
						|
    display: flex;
 | 
						|
    align-items: center;
 | 
						|
    justify-content: center;
 | 
						|
    background: $background;
 | 
						|
    color: $foreground;
 | 
						|
    @extend .roboto;
 | 
						|
}
 | 
						|
 | 
						|
.main {
 | 
						|
    width: 100%;
 | 
						|
    text-align: center;
 | 
						|
 | 
						|
    #search-bar {
 | 
						|
        width: 50%;
 | 
						|
        margin: 0 auto;
 | 
						|
        height: 45px;
 | 
						|
 | 
						|
        input {
 | 
						|
            height: inherit;
 | 
						|
            width: 100%;
 | 
						|
            background: lighten($background, 5);
 | 
						|
            box-shadow: none;
 | 
						|
            border: none;
 | 
						|
            text-align: center;
 | 
						|
            border-radius: 6px;
 | 
						|
            outline: none;
 | 
						|
            padding: 7px 14px;
 | 
						|
            font-size: 18px;
 | 
						|
            color: $foreground;
 | 
						|
 | 
						|
            &:focus {
 | 
						|
                box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
 | 
						|
                transition: all 0.3s cubic-bezier(.25,.8,.25,1);
 | 
						|
            }
 | 
						|
            
 | 
						|
        }
 | 
						|
    }
 | 
						|
 | 
						|
    #other-content {
 | 
						|
        margin: 20px auto;
 | 
						|
        padding: 10px 0;
 | 
						|
 | 
						|
        .sqr {
 | 
						|
            display: inline-block;
 | 
						|
            margin: 20px 5px 0 5px;
 | 
						|
            width: 200px;
 | 
						|
            background: lighten($background, 5);
 | 
						|
            padding: 20px 15px;
 | 
						|
            border-radius: 6px;
 | 
						|
            text-align: center;
 | 
						|
            min-height: 150px;
 | 
						|
 | 
						|
            &:hover {
 | 
						|
                box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
 | 
						|
                transition: all 0.3s cubic-bezier(.25,.8,.25,1);
 | 
						|
            }
 | 
						|
 | 
						|
            h4 {
 | 
						|
                color: #4DD0E1;
 | 
						|
            }
 | 
						|
 | 
						|
            a {
 | 
						|
                color: #9E9E9E;
 | 
						|
                font-size: 16px;
 | 
						|
                transition: .1s ease-in;
 | 
						|
                display: block;
 | 
						|
 | 
						|
                &:hover {
 | 
						|
                    color: $foreground;
 | 
						|
                    text-decoration: none;
 | 
						|
                    transition: .1s ease-in;
 | 
						|
                }
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
} |