diff --git a/.gitignore b/.gitignore index 467e24f..474786d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ db.sqlite3 www/ *.swp venv +*.swo diff --git a/app/static/css/partials/_film.scss b/app/static/css/partials/_film.scss index e37f536..cc8cc8f 100644 --- a/app/static/css/partials/_film.scss +++ b/app/static/css/partials/_film.scss @@ -10,14 +10,6 @@ } .film { margin-bottom: 16px; - display: flex; - flex-direction: row; - .left, .right { - width: 50%; - img { - max-width: 100%; - } - } h1 { font-weight: bold; font-size: 20px; @@ -26,7 +18,6 @@ @media screen and (max-width: 799px) { .film { margin-bottom: 16px; - flex-direction: column; h2 { margin-bottom: 8px; } diff --git a/app/static/css/partials/_text.scss b/app/static/css/partials/_text.scss index 369ce44..6d97f58 100644 --- a/app/static/css/partials/_text.scss +++ b/app/static/css/partials/_text.scss @@ -1,8 +1,26 @@ .texts { - .text { - margin: 8px; + box-sizing: border-box; + + a { + color: #e00; + text-decoration: none; } + .text { + margin: 8px; + h1 { + font-weight: bold; + font-size: 20px; + } + } + @media screen and (max-width: 799px) { + .text { + margin-bottom: 16px; + h2 { + margin-bottom: 8px; + } + } + } } diff --git a/app/templates/films.html b/app/templates/films.html index 0be24ab..64eb72d 100644 --- a/app/templates/films.html +++ b/app/templates/films.html @@ -3,7 +3,7 @@