initial to gitea
This commit is contained in:
114
styles/syntax.css
Normal file
114
styles/syntax.css
Normal file
@@ -0,0 +1,114 @@
|
||||
/* ocean with green variant */
|
||||
/* Light Mode */
|
||||
.keyword {
|
||||
color: #1EAB18; /* Slightly darker green */
|
||||
/* Dark Lime */
|
||||
}
|
||||
|
||||
.function {
|
||||
color: #39D833; /* Brighter lime green */
|
||||
/* Bright Lime */
|
||||
}
|
||||
|
||||
.punctuation {
|
||||
color: #357C30; /* Muted green-gray */
|
||||
/* Sage Green */
|
||||
}
|
||||
|
||||
.comment {
|
||||
color: #5F935B; /* Muted green */
|
||||
/* Olive Green */
|
||||
}
|
||||
|
||||
.string,
|
||||
.constant,
|
||||
.annotation,
|
||||
.boolean,
|
||||
.number {
|
||||
color: #2E8F2A; /* Darker green */
|
||||
/* Dark Forest Green */
|
||||
}
|
||||
|
||||
.tag {
|
||||
color: #1FC01B; /* Original vibrant green */
|
||||
/* Vibrant Green */
|
||||
}
|
||||
|
||||
.attr-name {
|
||||
color: #4FE34A; /* Light and bright green */
|
||||
/* Electric Green */
|
||||
}
|
||||
|
||||
.attr-value {
|
||||
color: #1EAB18; /* Slightly darker green */
|
||||
/* Dark Lime */
|
||||
}
|
||||
|
||||
/* Dark Mode */
|
||||
.dark .keyword {
|
||||
color: #8CFF7D; /* Soft light green */
|
||||
/* Soft Mint */
|
||||
}
|
||||
|
||||
.dark .function {
|
||||
color: #A0FF93; /* Light lime green */
|
||||
/* Minty Green */
|
||||
}
|
||||
|
||||
.dark .string,
|
||||
.dark .constant,
|
||||
.dark .annotation,
|
||||
.dark .boolean,
|
||||
.dark .number {
|
||||
color: #72FF73; /* Light green */
|
||||
/* Spring Green */
|
||||
}
|
||||
|
||||
.dark .tag {
|
||||
color: #7FFF7A; /* Vibrant green */
|
||||
/* Neon Green */
|
||||
}
|
||||
|
||||
.dark .attr-name {
|
||||
color: #B2FFA3; /* Soft pastel green */
|
||||
/* Mint Green */
|
||||
}
|
||||
|
||||
.dark .attr-value {
|
||||
color: #8CFF7D; /* Soft light green */
|
||||
/* Soft Mint */
|
||||
}
|
||||
|
||||
.youtube {
|
||||
position: relative;
|
||||
padding-bottom: 56.25%; /* Rasio aspek 16:9 */
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
background: #000; /* Latar belakang hitam untuk memadukan player */
|
||||
border-radius: 8px; /* Sudut melengkung */
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Bayangan lembut */
|
||||
}
|
||||
|
||||
.youtube iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
border-radius: 8px; /* Sudut melengkung pada iframe */
|
||||
}
|
||||
|
||||
.youtube:hover {
|
||||
transform: scale(1.05); /* Efek hover zoom */
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
li#changelog {
|
||||
padding-left: 1.5em;
|
||||
text-indent: -1.2rem;
|
||||
}
|
||||
|
||||
[id^="version-"] {
|
||||
scroll-margin-top: 4rem; /* sesuaikan dengan tinggi navbar */
|
||||
}
|
||||
Reference in New Issue
Block a user