Initialize project using Create React App
This commit is contained in:
52
src/components/VoteCard/VoteCard.module.css
Normal file
52
src/components/VoteCard/VoteCard.module.css
Normal file
@@ -0,0 +1,52 @@
|
||||
.voteCard {
|
||||
width: 50px;
|
||||
height: 75px;
|
||||
display: inline-block;
|
||||
padding: .1rem;
|
||||
margin: 10px;
|
||||
background-color: #f0f0f0;
|
||||
cursor: pointer;
|
||||
|
||||
border: 2px solid #0095ff;
|
||||
border-radius: .7rem;
|
||||
transition: border 0.2s ease-in-out, margin 0.2s ease-in-out, background-color 0.2s ease-in-out;
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
.voteCardInnerLayer {
|
||||
border: 2px solid #0095ff;
|
||||
border-radius: .6rem;
|
||||
font-size: 26px;
|
||||
font-weight: 400;
|
||||
color: #0095ff;
|
||||
width: calc(100% - 4px);
|
||||
height: calc(100% - 4px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.voteCard:hover {
|
||||
background-color: #e0e0e0;
|
||||
margin-top: -6px;
|
||||
}
|
||||
|
||||
.selected, .selected:hover {
|
||||
background-color: #d4edda;
|
||||
/* border-color: #c3e6cb; */
|
||||
margin-top: -12px;
|
||||
}
|
||||
|
||||
.coffee {
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.infinity {
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.cardo-regular {
|
||||
font-family: "Cardo", serif;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
Reference in New Issue
Block a user