60 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
 | 
						|
/*Heavily influenced by Emily Gagne (https://codepen.io/ceg9498/) from their CodePen post here - https://codepen.io/ceg9498/post/creating-lined-paper
 | 
						|
   /* Styling specific to an index card */
 | 
						|
.card{
 | 
						|
    font-family: Courier, monospace;
 | 
						|
    background-color: white;
 | 
						|
    background: repeating-linear-gradient(white, white 25px, #9198e5 26px, #9198e5 27px);
 | 
						|
    background-position-y: 34px;
 | 
						|
    height: 500px;
 | 
						|
    width: 800px;
 | 
						|
    padding: 0;
 | 
						|
    margin: 1em;
 | 
						|
    border-style:solid;
 | 
						|
    border-width: 2px;
 | 
						|
    border-color: #555;
 | 
						|
 | 
						|
}
 | 
						|
.card header {
 | 
						|
    background: linear-gradient(white, white 33px, pink 35px, pink 36px);
 | 
						|
    height: 36px;
 | 
						|
}
 | 
						|
.card-title {
 | 
						|
    position: relative;
 | 
						|
    left: 1em;
 | 
						|
    top: 6px;
 | 
						|
    font-size: 1.5em;
 | 
						|
    font-weight: bold;
 | 
						|
}
 | 
						|
.card-subtitle {
 | 
						|
    position: relative;
 | 
						|
    font-size: 1em;
 | 
						|
    margin: 0 20px;
 | 
						|
    line-height: 27px;
 | 
						|
    font-style:italic;
 | 
						|
}
 | 
						|
.card-text {
 | 
						|
    position: relative;
 | 
						|
    top: 30px;
 | 
						|
    font-size: 1em;
 | 
						|
    margin: 27px 1em;
 | 
						|
    line-height: 27px;
 | 
						|
}
 | 
						|
 | 
						|
.card-ingredients {
 | 
						|
    position: relative;
 | 
						|
    top: 30px;
 | 
						|
    font-size: 1em;
 | 
						|
    margin: 0 20px;
 | 
						|
    line-height: 27px;
 | 
						|
}
 | 
						|
.ingredient-qty {
 | 
						|
    display: inline-block;
 | 
						|
    width:5em;
 | 
						|
    text-align:left;
 | 
						|
}
 | 
						|
 | 
						|
.ingredient-type {
 | 
						|
    margin-left:4px;
 | 
						|
}
 | 
						|
 |