| Line 87: |
Line 87: |
| | } | | } |
| | | | |
| − | /* Remove extra left and right margins, due to padding in columns */
| |
| − | .row {
| |
| − | margin: 0 -5px;
| |
| − | clear: both;
| |
| − | display: flex;
| |
| − | flex-flow: row wrap;
| |
| − | }
| |
| | | | |
| − | .column {
| |
| − | flex: 0 0 25%;
| |
| − | display: flex;
| |
| − | padding: 10px;
| |
| − |
| |
| − | }
| |
| − | /* Clear floats after the columns */
| |
| − | .row:after {
| |
| − | content: "";
| |
| − | display: table;
| |
| − | clear: both;
| |
| − | }
| |
| − |
| |
| − | /* Style the counter cards */
| |
| − | .card {
| |
| − | box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
| |
| − | padding: 16px;
| |
| − | text-align: center;
| |
| − | }
| |
| − |
| |
| − | .cards {
| |
| − | height: 100px;
| |
| − | max-width: 100px;
| |
| − | max-height: 150px;
| |
| − | }
| |
| − |
| |
| − | .infobox
| |
| − | {
| |
| − | border-radius: 10px;
| |
| − | border: 2px solid #00A196;
| |
| − | padding-top: 10px;
| |
| − | padding-bottom: 10px;
| |
| − | padding-left: 20px;
| |
| − | padding-right: 20px;
| |
| − | margin-bottom: 15px;
| |
| − | margin-top: 10px;
| |
| − | }
| |
| − |
| |
| − | .infoboxcontent {
| |
| − | width: 95%;
| |
| − | float: right;
| |
| − | height: auto;
| |
| − | }
| |
| − |
| |
| − | .infobox:after {
| |
| − | content: "";
| |
| − | visibility: hidden;
| |
| − | display: block;
| |
| − | height: 0;
| |
| − | clear: both;
| |
| − | }
| |
| | /* Style for projects */ | | /* Style for projects */ |
| | .thumbnail img { | | .thumbnail img { |