Certificate CSS
unknown
plain_text
a year ago
2.8 kB
13
Indexable
body, html {
margin: 0;
padding: 0;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #000;
font-family: 'Raleway', sans-serif;
color: #fff;
}
.certificate {
width: 100vw;
height: 100vh;
position: relative;
overflow: hidden;
background: linear-gradient(135deg, #1c1c1c 0%, #2d2d2d 50%, #1c1c1c 100%);
}
.content {
position: relative;
z-index: 1;
width: 90%;
height: 90%;
margin: auto;
padding: 40px;
border: 2px solid #d4af37;
box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
display: flex;
flex-direction: column;
justify-content: space-between;
background: linear-gradient(135deg, rgba(30,30,30,0.9) 0%, rgba(45,45,45,0.9) 100%);
backdrop-filter: blur(10px);
}
header {
text-align: center;
}
.logo {
width: 150px;
margin-bottom: 20px;
filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}
h1 {
font-family: 'Cinzel', serif;
font-size: 36px;
color: #d4af37;
margin: 0;
letter-spacing: 2px;
text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}
main {
text-align: center;
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.honor, .accomplishment {
font-size: 18px;
margin: 10px 0;
color: #e0e0e0;
}
.name {
font-family: 'Cinzel', serif;
font-size: 48px;
margin: 20px 0;
color: #d4af37;
text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}
.program {
font-size: 24px;
margin: 20px 0;
color: #fff;
text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.details {
margin: 20px 0;
font-size: 16px;
}
.details span {
color: #d4af37;
font-weight: 600;
}
.score-badge {
margin: 30px auto;
width: 100px;
height: 100px;
}
.score-badge svg {
width: 100%;
height: 100%;
filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}
.score-badge text {
fill: #d4af37;
font-family: 'Cinzel', serif;
font-weight: bold;
}
footer {
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.signature, .company-info {
text-align: center;
}
.signature img {
width: 150px;
margin-bottom: 10px;
filter: brightness(1.2) contrast(1.2);
}
.title {
font-style: italic;
color: #d4af37;
}
.company-info p {
margin: 5px 0;
font-size: 14px;
color: #e0e0e0;
}
.cert-id {
color: #d4af37;
font-size: 12px;
}
@media (max-width: 768px) {
.content {
padding: 20px;
}
h1 {
font-size: 28px;
}
.name {
font-size: 36px;
}
.program {
font-size: 20px;
}
.details, .honor, .accomplishment {
font-size: 14px;
}
}Editor is loading...
Leave a Comment