mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 06:49:45 +03:00 
			
		
		
		
	
							
								
								
									
										29
									
								
								_scss/components/theme/_image.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								_scss/components/theme/_image.scss
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
			
		||||
@import 'utilities/boxshadow';
 | 
			
		||||
 | 
			
		||||
img {
 | 
			
		||||
  max-width: 100%;
 | 
			
		||||
  width: auto;
 | 
			
		||||
 | 
			
		||||
  &:hover {
 | 
			
		||||
    @include box-shadow(0 0 10px rgba(0, 0, 0, .5));
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.fullscreen {
 | 
			
		||||
  background: rgba(0, 0, 0, .5);
 | 
			
		||||
  display: none;
 | 
			
		||||
  height: 100%;
 | 
			
		||||
  left: 0;
 | 
			
		||||
  position: fixed;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  top: 0;
 | 
			
		||||
  width: 100%;
 | 
			
		||||
 | 
			
		||||
  &:target {
 | 
			
		||||
    display: block;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  img {
 | 
			
		||||
    margin-top: 10rem;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user