mirror of
https://github.com/Fluffy-Bean/website.git
synced 2025-05-29 23:03:15 +00:00
Move more styles to own files
Adjust styles as usual
This commit is contained in:
parent
909e2c0bf3
commit
c6d0b80b5c
8 changed files with 122 additions and 124 deletions
54
src/styles/_certificate.scss
Normal file
54
src/styles/_certificate.scss
Normal file
|
@ -0,0 +1,54 @@
|
|||
.certificate {
|
||||
padding: 16px;
|
||||
|
||||
height: 100%;
|
||||
|
||||
position: relative;
|
||||
|
||||
border-radius: $radius;
|
||||
border: 2px solid $gray;
|
||||
background-color: $dark;
|
||||
color: $light;
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
> svg {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
|
||||
position: absolute;
|
||||
top: -37px;
|
||||
left: -25px;
|
||||
|
||||
opacity: 0.03;
|
||||
z-index: +1;
|
||||
}
|
||||
|
||||
> div {
|
||||
position: relative;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
|
||||
z-index: +2;
|
||||
|
||||
|
||||
> h3 {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
> .pill-list {
|
||||
margin-top: 4px;
|
||||
|
||||
justify-content: center;
|
||||
}
|
||||
> .button {
|
||||
margin-top: 4px;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue