diff options
Diffstat (limited to 'alphabetlearning/static/css')
-rw-r--r-- | alphabetlearning/static/css/project.css | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/alphabetlearning/static/css/project.css b/alphabetlearning/static/css/project.css index 43dde1d..ad1d465 100644 --- a/alphabetlearning/static/css/project.css +++ b/alphabetlearning/static/css/project.css @@ -176,13 +176,14 @@ nav > div > ul > li { } .standard-card { - padding: 1.1em; - border: 1px solid rgb(199, 200, 201); - border-radius: 10px; - /*background-color: #f0f2f7;*/ - background-color: white; - text-align: left; - position: relative; + border: 1px solid lightgray; + border-radius: 5px; + padding: 10px; + /* height: 560px; */ + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: stretch; } /* for animated borders, check https://www.youtube.com/watch?v=ezP4kbOvs_E */ @@ -231,10 +232,9 @@ nav > div > ul > li { } .standard-card-description { - margin: 20px 0px 16px; - line-height: 1.6; + margin: 10px 0px; + line-height: 1.1; font-size: 0.9em; - text-align: left; } .card-credit { @@ -244,19 +244,22 @@ nav > div > ul > li { .add-to-basket-button { background-color: green; - border: none; + border: 5px solid transparent; + margin: 10px 0px; text-decoration: none; text-align: center; border-radius: 5px; color: white; display: inline-block; - padding: 7px; + padding: 5px; transition: background-color 0.5s; } .add-to-basket-button:hover { background-color: darkgreen; color: white; + /* border: 5px solid yellow; */ + box-shadow: 0.2em 0.2em 1em rgb(109 109 109 / 60%); } |