diff --git a/app/LocationComponent/style.css b/app/LocationComponent/style.css new file mode 100644 index 0000000..8293558 --- /dev/null +++ b/app/LocationComponent/style.css @@ -0,0 +1,10 @@ +.location-thumb { + float: left; +} + +.location-thumb .back-img { + width: 100%; + height: 200px; + background-size: cover; + padding: 15px; +} \ No newline at end of file diff --git a/style/main.css b/style/main.css index 326219c..36901a1 100644 --- a/style/main.css +++ b/style/main.css @@ -15,18 +15,11 @@ body { margin: 2em; } +div { + box-sizing: border-box; +} + body, input[text], button { color: #888; font-family: Cambria, Georgia; } - -.location-thumb { - float: left; -} - -.location-thumb .back-img { - width: 100%; - height: 200px; - background-size: cover; - padding: 15px; -} \ No newline at end of file