Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 86 additions & 0 deletions docs/website/assets/css/extended/cn1-compare.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
.post-single--compare .post-content table:not(.highlighttable, .highlight table, .gist .highlight) {
width: 100%;
margin: 20px 0 28px;
border-collapse: separate;
border-spacing: 0;
border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--border));
border-radius: 14px;
overflow: hidden;
background: color-mix(in srgb, var(--entry) 84%, white);
box-shadow: 0 12px 30px -24px color-mix(in srgb, var(--primary) 35%, transparent);
}

body.dark .post-single--compare .post-content table:not(.highlighttable, .highlight table, .gist .highlight) {
background: color-mix(in srgb, var(--entry) 92%, black);
}

.post-single--compare .post-content table thead th {
border-bottom: 2px solid color-mix(in srgb, var(--primary) 40%, var(--border));
background: color-mix(in srgb, var(--primary) 10%, var(--entry));
color: var(--primary);
font-weight: 700;
letter-spacing: 0.01em;
}

body.dark .post-single--compare .post-content table thead th {
background: color-mix(in srgb, var(--primary) 20%, var(--entry));
}

.post-single--compare .post-content table th,
.post-single--compare .post-content table td {
border-right: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border));
border-bottom: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border));
padding: 22px 24px !important;
vertical-align: top;
}

@media (max-width: 900px) {
.post-single--compare .post-content table th,
.post-single--compare .post-content table td {
padding: 18px 20px !important;
}
}

.post-single--compare .post-content table th:last-child,
.post-single--compare .post-content table td:last-child {
border-right: 0;
}

.post-single--compare .post-content table tbody tr:last-child td {
border-bottom: 0;
}

.post-single--compare .post-content table tbody tr:nth-child(odd) {
background: color-mix(in srgb, var(--entry) 90%, white);
}

.post-single--compare .post-content table tbody tr:nth-child(even) {
background: color-mix(in srgb, var(--entry) 96%, var(--primary) 4%);
}

body.dark .post-single--compare .post-content table tbody tr:nth-child(odd) {
background: color-mix(in srgb, var(--entry) 96%, black);
}

body.dark .post-single--compare .post-content table tbody tr:nth-child(even) {
background: color-mix(in srgb, var(--entry) 90%, var(--primary) 8%);
}

.post-single--compare .post-content table tbody tr:hover {
background: color-mix(in srgb, var(--primary) 12%, var(--entry));
}

.post-single--compare .post-content table tbody td:first-child {
font-weight: 600;
color: var(--primary);
}

@media (max-width: 900px) {
.post-single--compare .post-content table:not(.highlighttable, .highlight table, .gist .highlight) {
display: block;
min-width: 700px;
max-width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
}
14 changes: 14 additions & 0 deletions docs/website/assets/css/extended/cn1-home.css
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@ body:not(.dark) .cn1-brand-logo {
z-index: 80;
}

.cn1-homepage #menu .sub-menu li {
margin: 0;
padding: 0;
}

.cn1-homepage #menu .sub-menu li + li {
border-top: 1px solid var(--cn1-home-submenu-border);
}
Expand All @@ -225,6 +230,7 @@ body:not(.dark) .cn1-brand-logo {
font-size: 17px;
font-weight: 600;
display: block;
text-align: left;
}

.cn1-homepage .cn1-nav-toggle {
Expand Down Expand Up @@ -368,6 +374,11 @@ body:not(.dark) .cn1-brand-logo {
z-index: 80;
}

.cn1-header #menu .sub-menu li {
margin: 0;
padding: 0;
}

.cn1-header #menu .sub-menu li + li {
border-top: 1px solid var(--cn1-home-submenu-border);
}
Expand All @@ -379,6 +390,7 @@ body:not(.dark) .cn1-brand-logo {
font-size: 17px;
font-weight: 600;
display: block;
text-align: left;
}

.cn1-header #menu > li.has-children:hover > .sub-menu,
Expand Down Expand Up @@ -1860,11 +1872,13 @@ body:not(.dark) .cn1-theme-toggle-btn {
.cn1-homepage #menu .sub-menu a {
padding: 15px 28px;
font-size: 15px;
text-align: left;
}

.cn1-header #menu .sub-menu a {
padding: 15px 28px;
font-size: 15px;
text-align: left;
}

.cn1-header #menu > li.has-children.open > .sub-menu {
Expand Down
1 change: 0 additions & 1 deletion docs/website/content/howdoi/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ url: /how-do-i/
type: howdoi
---

Browse tutorials and short videos.
2 changes: 1 addition & 1 deletion docs/website/data/cn1libs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"source_url": "https://raw.githubusercontent.com/codenameone/CodenameOneLibs/refs/heads/master/CN1Libs.xml",
"generated_at_utc": "2026-02-14T14:53:30.361631+00:00",
"generated_at_utc": "2026-02-15T08:42:00.130599+00:00",
"status": "ok",
"error": "",
"count": 85,
Expand Down