feat(language): add language page with styles and skill tag links
This commit is contained in:
3 files changed
+377
-4
No files matched your search
@@ -0,0 +1,218 @@
|
||||
body {
|
||||
margin: 0;
|
||||
background-image: url("/public/images/background/background-author.jpg");
|
||||
background-attachment: fixed;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
body #div-content {
|
||||
position: relative;
|
||||
background-color: #073a59;
|
||||
z-index: 2;
|
||||
padding: 4rem 1rem 7rem;
|
||||
}
|
||||
|
||||
.intro {
|
||||
max-width: 60rem;
|
||||
margin: 0 auto 2.5rem;
|
||||
color: #ffffff;
|
||||
font-family: Quicksand, sans-serif;
|
||||
font-size: 1.05rem;
|
||||
line-height: 1.6rem;
|
||||
text-align: center;
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
.lang-menu {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 0.8rem;
|
||||
margin: 0 auto 3rem;
|
||||
max-width: 60rem;
|
||||
}
|
||||
|
||||
.lang-menu a {
|
||||
font-family: Quicksand, sans-serif;
|
||||
color: #ffffff;
|
||||
background-color: #073a59;
|
||||
border: 0.1rem solid #834206ec;
|
||||
border-radius: 1.5rem;
|
||||
padding: 0.5rem 1.2rem;
|
||||
text-decoration: none;
|
||||
font-size: 0.95rem;
|
||||
transition: background-color 0.2s ease-out, transform 0.2s ease-out;
|
||||
}
|
||||
|
||||
|
||||
.lang-card {
|
||||
background-color: #a2cceb;
|
||||
color: #ffffff;
|
||||
font-family: Quicksand, sans-serif;
|
||||
max-width: 60rem;
|
||||
margin: 0 auto 2.5rem;
|
||||
padding: 1.8rem 2rem;
|
||||
border-radius: 0.5rem;
|
||||
box-shadow: 0.5rem 0.5rem 0rem #01162280;
|
||||
scroll-margin-top: 6rem;
|
||||
}
|
||||
|
||||
.lang-card:hover {
|
||||
transform: scale(1.01);
|
||||
}
|
||||
|
||||
.lang-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.2rem;
|
||||
border-bottom: 0.15rem dashed #834206ec;
|
||||
padding-bottom: 1rem;
|
||||
margin-bottom: 1.2rem;
|
||||
}
|
||||
|
||||
.lang-logo {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-width: 3.5rem;
|
||||
height: 3.5rem;
|
||||
padding: 0 0.8rem;
|
||||
background-color: #073a59;
|
||||
border: 0.15rem solid #834206ec;
|
||||
border-radius: 0.6rem;
|
||||
color: #ffffff;
|
||||
font-family: Consolas, "Courier New", monospace;
|
||||
font-size: 1.1rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.lang-title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.lang-title h3 {
|
||||
margin: 0;
|
||||
color: #ffffff;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.lang-type {
|
||||
color: #073a59;
|
||||
font-size: 0.9rem;
|
||||
font-style: italic;
|
||||
margin-top: 0.2rem;
|
||||
}
|
||||
|
||||
.lang-card p {
|
||||
line-height: 1.6rem;
|
||||
margin: 0.6rem 0;
|
||||
}
|
||||
|
||||
.lang-card code {
|
||||
background-color: #073a59;
|
||||
color: #a2cceb;
|
||||
padding: 0.1rem 0.4rem;
|
||||
border-radius: 0.3rem;
|
||||
font-family: Consolas, "Courier New", monospace;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.lang-uses {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 1.2rem 0 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.lang-uses li {
|
||||
position: relative;
|
||||
padding-left: 1.5rem;
|
||||
color: #ffffff;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.lang-uses li::before {
|
||||
content: "➤";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: #834206ec;
|
||||
}
|
||||
|
||||
.back-link {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.back-link a {
|
||||
color: #ffffff;
|
||||
font-family: Quicksand, sans-serif;
|
||||
text-decoration: none;
|
||||
background-color: #073a59;
|
||||
border: 0.15rem dashed #834206ec;
|
||||
border-radius: 1.5rem;
|
||||
padding: 0.6rem 1.4rem;
|
||||
transition: background-color 0.2s ease-out;
|
||||
}
|
||||
|
||||
.back-link a:hover {
|
||||
background-color: #2a658a;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.lang-card {
|
||||
max-width: 90%;
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.intro {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.lang-header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.lang-title h3 {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.lang-menu a {
|
||||
font-size: 0.85rem;
|
||||
padding: 0.4rem 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
body #div-content {
|
||||
padding: 2.5rem 0.5rem 5rem;
|
||||
}
|
||||
|
||||
.lang-card {
|
||||
padding: 1.2rem;
|
||||
margin-bottom: 1.8rem;
|
||||
}
|
||||
|
||||
.lang-title h3 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.lang-card p {
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
|
||||
.lang-logo {
|
||||
min-width: 3rem;
|
||||
height: 3rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user