mirror of
				https://github.com/DerTyp7/tealcode-django-python.git
				synced 2025-10-31 13:17:07 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			222 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			222 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| *{
 | |
|     padding: 0;
 | |
|     margin: 0;
 | |
|     transition-timing-function: linear;
 | |
| }
 | |
| 
 | |
| html,body{
 | |
|     background-color: rgba(38, 38, 42, 1);
 | |
|     height: 100%;
 | |
| 
 | |
| }
 | |
| 
 | |
| /* HEADER */
 | |
| header{
 | |
|     background-color: rgb(34, 102, 71);
 | |
|     padding: 10px;
 | |
|     padding-left: 150px;
 | |
|     margin-top: 0px;
 | |
|     height: 35px;
 | |
|     box-shadow: 0px 1px 20px 3px #1f1d1d;
 | |
|     
 | |
| }
 | |
| 
 | |
| header h1{
 | |
|     float:left;
 | |
| }
 | |
| 
 | |
| header div{
 | |
|     float: right;
 | |
|     margin-top: 10px;
 | |
|     margin-right: 0px;
 | |
| }
 | |
| 
 | |
| header a{
 | |
|     letter-spacing: 1.5px;
 | |
|     padding-right: 10px;
 | |
|     padding-left: 10px; 
 | |
|     padding-top: 5px;
 | |
|     padding-bottom: 5px;
 | |
|     cursor:pointer;
 | |
|     transition: 0.1s;
 | |
|     transition-timing-function: linear;    
 | |
|     text-decoration: none;
 | |
|     font-weight: bold;
 | |
|     text-align: center ;
 | |
| }
 | |
| 
 | |
| 
 | |
| header .a-current{
 | |
|     color:rgb(0, 255, 106);
 | |
|     text-decoration: underline;
 | |
| }
 | |
| 
 | |
| header a:hover{
 | |
|     color:rgb(0, 255, 106);
 | |
|     text-decoration: underline;
 | |
| }
 | |
| 
 | |
| /* MAIN */
 | |
| main{
 | |
|     position: relative;
 | |
|     min-height: 85%;
 | |
| }
 | |
| 
 | |
| main #main-content{
 | |
|     background-color: rgb(26, 26, 29);
 | |
|     width: 700px;
 | |
|     box-shadow: 0px 0px 5px 1px #1f1d1d;
 | |
|     display: block;
 | |
|     margin-left: auto;
 | |
|     margin-right: auto;
 | |
|     padding-top: 20px;
 | |
|     padding-bottom: 10px;
 | |
|     margin-top: 40px;
 | |
| }
 | |
| 
 | |
| main .main-content-block{
 | |
|     width: 100%;
 | |
|     padding-top: 10px;
 | |
|     padding-bottom: 10px;
 | |
| 
 | |
| }
 | |
| 
 | |
| main .main-text{
 | |
|     width: 90%;
 | |
|     display: block;
 | |
|     margin-left: auto;
 | |
|     margin-right: auto;
 | |
|     padding-top: 20px;
 | |
|     padding-bottom: 20px;
 | |
| }
 | |
| 
 | |
| main .main-text p{
 | |
|     word-spacing: 1.5px;
 | |
|     font-weight: normal;
 | |
|     color: rgb(255, 255, 255);
 | |
| }
 | |
| 
 | |
| main #main-content #main-content-code{
 | |
|     width: 600px;
 | |
|     margin-left: 50px;
 | |
|     margin-top: 50px;
 | |
|     margin-bottom: 50px;
 | |
| }
 | |
| 
 | |
| /* FOOTER */
 | |
| footer{
 | |
|     width: 100%;
 | |
|     height: 30px;
 | |
| }
 | |
| 
 | |
| footer .footer-links{
 | |
|     margin-left: 50px;
 | |
|     margin-top: 15px;
 | |
| }
 | |
| 
 | |
| footer .footer-links a{
 | |
|     margin-left: 30px;
 | |
|     color:rgb(137, 137, 141);
 | |
|     text-decoration: none;
 | |
|     cursor:pointer;
 | |
| }
 | |
| 
 | |
| footer .footer-links a:hover{
 | |
|     color: white;
 | |
| }
 | |
| 
 | |
| /* COOKIE BANNER */
 | |
| #cookie_banner{
 | |
|     position: absolute;
 | |
|     width:100%;
 | |
|     height: 60px;
 | |
|     background-color: rgb(0, 0, 0);
 | |
|     bottom:0;
 | |
|     z-index: 100;
 | |
| }
 | |
| #cookie_banner p{
 | |
|     font-size: 13pt;
 | |
|     color: white;
 | |
|     font-weight: bold;
 | |
|     margin-top: 8px;
 | |
|     margin-left: 200px;
 | |
| }
 | |
| 
 | |
| #cookie_banner button{
 | |
|     float: right;
 | |
|     margin-right: 200px;
 | |
|     width: 150px;
 | |
|     height: 40px;
 | |
|     margin-top: -40px;
 | |
|     border: 3px solid green;
 | |
|     background-color: rgba(77, 77, 77, 0.5);
 | |
|     color: white;
 | |
|     font-size: 15pt;
 | |
|     font-weight: bold;
 | |
|     cursor: pointer;
 | |
|     transition: 0.1s;
 | |
|     transition-timing-function: linear;
 | |
| }
 | |
| 
 | |
| #cookie_banner button:hover{
 | |
|     background-color: rgba(77, 77, 77, 0.801);
 | |
|     border: 3px solid rgb(1, 180, 1);
 | |
| }
 | |
| 
 | |
| 
 | |
| /* BREAKPOINTS */
 | |
| @media screen and (max-width:1100px) {
 | |
|     #cookie_banner button{
 | |
|         margin-right: 5px;
 | |
|     }
 | |
| 
 | |
|     
 | |
| }
 | |
| 
 | |
| 
 | |
| @media screen and (max-width:900px) {
 | |
|     header{
 | |
|         height: 90px;
 | |
|         padding-left: 10px;
 | |
|     }
 | |
| 
 | |
|     header div{
 | |
|         float:left;
 | |
|         width: 100%;
 | |
|     }
 | |
| 
 | |
|     #cookie_banner p{
 | |
|         margin-left: 5px;
 | |
|     }
 | |
| }
 | |
| 
 | |
| @media screen and (max-width:700px) {
 | |
|     #main-content{
 | |
|         width:100%;
 | |
|     }
 | |
| 
 | |
|     
 | |
| }
 | |
| 
 | |
| @media screen and (max-width:670px) {
 | |
| 
 | |
|     #cookie_banner p{
 | |
|         margin-left: 5px;
 | |
|         width: 100%;
 | |
|     }
 | |
|     #cookie_banner button{
 | |
|         margin-top: 10px;
 | |
|     }
 | |
| 
 | |
|     #cookie_banner {
 | |
|         height: 130px;
 | |
|     }
 | |
| }
 | |
| 
 | |
| @media screen and (max-width:500px) {
 | |
| 
 | |
| 
 | |
|     #cookie_banner {
 | |
|         height: 160px;
 | |
|     }
 | |
| } | 
