Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions Change required in team page/Navbars/cards/cards.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
* {
box-sizing: border-box;
}

body {
font-family: Arial, Helvetica, sans-serif;
}

.column {
float: left;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, don't use float 😁

width: 25%;
padding: 0 10px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Paddings in rem will be a better option

}

.row {
margin: 0 -5px;
}

.row:after {
content: "";
display: table;
clear: both;
}


/* Style the counter cards */

.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
height: 200px;
padding: 16px;
text-align: center;
background-color: #f1f1f1;
}


/* Responsive columns*/

@media screen and (max-width: 600px) {
.column {
width: 100%;
display: block;
margin-bottom: 20px;
}
}