diff options
author | Steve Lane <lane.s@unimelb.edu.au> | 2018-10-17 02:18:58 +0300 |
---|---|---|
committer | Steve Lane <lane.s@unimelb.edu.au> | 2018-10-17 02:18:58 +0300 |
commit | 35193325a6b9a2b92d0b4d43eaf89c5231e7167c (patch) | |
tree | ef3c962a7581d8dcc820f4f1fb44d2f29361abf2 | |
parent | 92a6ad290166dedc9de6d55a85af804615f4936d (diff) |
align cards in team section
fixes issue #18
-rwxr-xr-x | layouts/partials/team.html | 2 | ||||
-rwxr-xr-x | static/css/style.css | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/layouts/partials/team.html b/layouts/partials/team.html index db2db51..c90a1fe 100755 --- a/layouts/partials/team.html +++ b/layouts/partials/team.html @@ -1,5 +1,5 @@ <div id="fh5co-team" data-section="team"> - <div class="container"> + <div class="container equal"> {{ with .Site.Params.team }} <div class="col-md-6 col-md-offset-3 text-center fh5co-heading"> <h2>{{ .title }}</h2> diff --git a/static/css/style.css b/static/css/style.css index 9e00c6e..890ab85 100755 --- a/static/css/style.css +++ b/static/css/style.css @@ -1179,4 +1179,16 @@ p { background: url(../images/Preloader_2.gif) center no-repeat #fff; } +@media screen and (min-width: 768px) { + .equal { + display: flex; + flex-wrap: wrap; + } +} + +/* .equal { */ +/* display: flex; */ +/* display: -webkit-flex; */ +/* flex-wrap: wrap; */ +/* } */ /*# sourceMappingURL=style.css.map */ |