Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
software-development.scss 1.3 KiB
Newer Older
  • Learn to ignore specific revisions
  • peter_rabbit's avatar
    peter_rabbit committed
    #software-page {
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
    	.software-articles {
    		margin: 20px auto 50px;
    		article.software-article {
    			display: grid;
    			grid-template-columns: auto 1fr;
    			margin: 0 0 50px;
    			gap: 10px 30px;
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
    			.software-title {
    				grid-column: 2;
    				color: $light_2;
    				margin: 0;
    				padding: 10px;
    			}
    
    peter_rabbit's avatar
    peter_rabbit committed
    
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
    			.software-subtitle {
    				grid-column: 2;
    				margin: 10px;
    				color: $medium_grey;
    			}
    
    peter_rabbit's avatar
    peter_rabbit committed
    
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
    			.software-description {
    				grid-column: 2;
    				text-align: justify;
    				margin: 10px;
    			}
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
    			.software-image {
    				padding: 20px;
    				background-color: black;
    				grid-column: 1;
    				grid-row: 1 / span 3;
    				@include flex-center;
    				width: 200px;
    				height: 200px;
    				overflow: hidden;
    				border-radius: 100%;
    				img {
    					max-width: 100%;
    					max-height: 400px;
    				}
    			}
    
    Pierre Jarriges's avatar
    Pierre Jarriges committed
    			@media screen and (max-width: $screen_l) {
    				.software-title {
    					display: flex;
    					align-items: center;
    				}
    				.software-subtitle,
    				.software-description {
    					grid-column: 1 / span 2;
    				}
    				.software-image {
    					width: 100px;
    					height: 100px;
    					grid-row: 1;
    				}
    			}
    		}
    		article.placeholder {
    			display: flex;
    			flex-direction: column;
    			gap: 10px;
    			margin: 30px;
    			* {
    				background-color: $light_0;
    			}
    			.title {
    				height: 60px;
    			}
    			.body {
    				height: 400px;
    			}
    			.details {
    				height: 200px;
    			}
    		}
    	}
    
    peter_rabbit's avatar
    peter_rabbit committed
    }