shopping-list/style/bkp/recipe.css

84 lines
1.5 KiB
CSS
Raw Normal View History

2018-10-24 15:00:27 +02:00
#recipeHeader {
margin-top: 2em;
font-size: 2em;
text-align: center;
}
#ingredients {
display: inline-flex;
flex-direction: column;
margin-top: 1em;
color: white;
width: 100%;
}
.ingredients_row {
display: flex;
flex-direction: row;
2018-10-26 15:03:14 +02:00
min-height: 24px;
margin-bottom: .1em;
align-items: center;
2018-10-26 13:45:03 +02:00
border-left: 3px solid #4CAF50;
border-bottom-right-radius: 5px;
border-top-right-radius: 5px;
2018-10-26 15:03:14 +02:00
max-width: 30em;
2018-10-24 15:00:27 +02:00
}
.ingredients_row_amount {
2018-10-26 15:03:14 +02:00
width: auto;
2018-10-26 15:15:55 +02:00
min-width: 2em;
2018-10-26 15:03:14 +02:00
max-width: 3em;
text-align: right;
2018-10-24 15:00:27 +02:00
}
.ingredients_row_unit {
2018-10-26 15:03:14 +02:00
width: 4em;
2018-10-24 15:00:27 +02:00
text-indent: .5em;
text-align: left;
}
.ingredients_row_name {
text-indent: 2em;
}
#editingMenu font {
display: block;
}
#editingMenu {
position: fixed;
width: 2em;
height: 3em;
top: 1em;
right: .5em;
background-image: url("/pic/editingMenu.png");
background-repeat: no-repeat;
background-size: contain;
transition: .6s;
cursor: pointer;
}
#editingMenuOpen {
display: flex;
position: fixed;
top: 1em;
right: .5em;
flex-direction: column;
justify-content: center;
transition: .6s;
transform: translate(0, -12em);
}
#editingMenuOpen font {
text-align: center;
background-color: /*#4CAF50*/ black;
font-family: "Lucida Console", Monaco, monospace;
color: white;
font-size: 2em;
height: 40px;
width: 40px;
padding: .1em .2em .3em .2em;
margin-bottom: .1em;
border-radius: 100%;
cursor: pointer;
user-select: none;
}
2018-10-26 19:51:52 +02:00
section.parsedown-section {
padding: 1em;
margin: 1em;
border: 1px solid grey;
border-radius: 5px;
}