CSS recipe card
This commit is contained in:
parent
bfbdbe08c1
commit
d772e8edec
1 changed files with 8 additions and 10 deletions
|
@ -1,19 +1,18 @@
|
||||||
|
|
||||||
/*Heavily influenced by Emily Gagne (https://codepen.io/ceg9498/) from their CodePen post here - https://codepen.io/ceg9498/post/creating-lined-paper
|
/*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 */
|
/* Styling specific to an index card */
|
||||||
.card{
|
.card{
|
||||||
font-family: Courier, monospace;
|
font-family: Courier, monospace;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
background: repeating-linear-gradient(white, white 25px, #9198e5 26px, #9198e5 27px);
|
background: repeating-linear-gradient(white, white 25px, #9198e5 26px, #9198e5 27px);
|
||||||
background-position-y: 34px;
|
background-position-y: 34px;
|
||||||
height: 500px;
|
height: 592px;
|
||||||
width: 800px;
|
width: 840px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
border-style:solid;
|
border-style:solid;
|
||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
border-color: #555;
|
border-color: #555;
|
||||||
|
|
||||||
}
|
}
|
||||||
.card header {
|
.card header {
|
||||||
background: linear-gradient(white, white 33px, pink 35px, pink 36px);
|
background: linear-gradient(white, white 33px, pink 35px, pink 36px);
|
||||||
|
@ -21,15 +20,17 @@
|
||||||
}
|
}
|
||||||
.card-title {
|
.card-title {
|
||||||
position: relative;
|
position: relative;
|
||||||
left: 1em;
|
/*left: 1em;*/
|
||||||
top: 6px;
|
top: 6px;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
margin-bottom: 0.2em;
|
||||||
|
margin-left:25px;
|
||||||
}
|
}
|
||||||
.card-subtitle {
|
.card-subtitle {
|
||||||
position: relative;
|
position: relative;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
margin: 0 20px;
|
margin: 0 25px;
|
||||||
line-height: 27px;
|
line-height: 27px;
|
||||||
font-style:italic;
|
font-style:italic;
|
||||||
}
|
}
|
||||||
|
@ -40,7 +41,6 @@
|
||||||
margin: 27px 1em;
|
margin: 27px 1em;
|
||||||
line-height: 27px;
|
line-height: 27px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-ingredients {
|
.card-ingredients {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 30px;
|
top: 30px;
|
||||||
|
@ -53,8 +53,6 @@
|
||||||
width:5em;
|
width:5em;
|
||||||
text-align:left;
|
text-align:left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ingredient-type {
|
.ingredient-type {
|
||||||
margin-left:4px;
|
margin-left:4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue