abdullahtarawneh.com/assets/scss/base/components.scss

29 lines
475 B
SCSS
Raw Normal View History

2020-10-24 03:47:29 +00:00
.button {
background: #0060ff;
2020-10-25 05:15:18 +00:00
color: white !important;
2020-10-24 03:47:29 +00:00
width: max-content;
font-size: clamp(1em,2vw,1em);
padding: 0.75em;
display: flex;
justify-content: center;
text-decoration: none;
border-radius: 100em;
font-weight: 700;
2020-10-25 05:15:18 +00:00
2020-10-26 06:29:04 +00:00
}
.has-pullquote{
&:before {
content: attr(data-pullquote);
font-size: 1em;
line-height: 1.2;
float: right;
margin: 1em;
margin-top: 0;
font-family: serif;
max-width: 200px;
background: #ddd;
color: black;
padding: 1em;
}
2020-10-24 03:47:29 +00:00
}