This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-website.git
commit c21a49a2c219c64ccd94914a5e01c2b4b818bd88 Author: Abhishekmishra2808 <[email protected]> AuthorDate: Wed Feb 18 22:14:32 2026 +0530 Merge articles.css into modern.css with scoped styling and add article separators - Merged articles.css styles into modern.css with .articles-page class scoping - Removed separate articles.css stylesheet link from default.html - Added visual partitions (horizontal rules) after each of the 3 research papers - Prevents CSS overlap while maintaining all article page styling --- articles.md | 6 ++ assets/themes/apache/css/modern.css | 111 ++++++++++++++++++++++++++++++------ 2 files changed, 98 insertions(+), 19 deletions(-) diff --git a/articles.md b/articles.md index ca1335d73e..1d2a0c16b0 100644 --- a/articles.md +++ b/articles.md @@ -60,6 +60,8 @@ Michal Matiáš / [CVUT](https://dspace.cvut.cz/handle/10467/123231) +--- + ### iplite: a lightweight packet filter for NuttX @@ -88,6 +90,8 @@ Lourenc¸o Alves Pereira Jr. / [DOI](https://doi.org/10.5753/sbseg_estendido.2022.227059) +--- + ### mnemofs: A NAND flash file-system for Apache NuttX @@ -110,6 +114,8 @@ Alan C. Assis [PDF]({{ site.baseurl }}/static/articles/NuttX-2021-PalAssis-MenmofsANANDFlashFilesystemForApacheNuttX.pdf) +--- + ### Low power embedded software optimization for the NuttX RTOS diff --git a/assets/themes/apache/css/modern.css b/assets/themes/apache/css/modern.css index 077ad7bf66..ad14047e01 100644 --- a/assets/themes/apache/css/modern.css +++ b/assets/themes/apache/css/modern.css @@ -127,7 +127,7 @@ body { .logo-text { color: var(--text-primary); font-size: 18px; - font-weight: 600; + font-weight: 300; letter-spacing: -0.01em; font-family: 'Patua One', cursive; white-space: nowrap; @@ -1174,6 +1174,10 @@ li { .community-main { padding-right: 0; } + + .channel-list { + grid-template-columns: repeat(2, 1fr); + } } @media (max-width: 768px) { @@ -1388,6 +1392,13 @@ tr:hover { background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)); } +.feature-card-header { + display: flex; + align-items: center; + gap: 1rem; + margin-bottom: 1rem; +} + .feature-icon { width: 48px; height: 48px; @@ -1399,13 +1410,6 @@ tr:hover { flex-shrink: 0; } -.feature-card-header { - display: flex; - align-items: center; - gap: 1rem; - margin-bottom: 1rem; -} - .feature-icon svg { width: 24px; height: 24px; @@ -1684,7 +1688,7 @@ tr:hover { border: 1px solid var(--border-color); border-radius: 12px; padding: 2rem; - text-decoration: none; + text-decoration: none !important; color: inherit; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; @@ -1695,7 +1699,7 @@ tr:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-primary); - text-decoration: none; + text-decoration: none !important; color: inherit; } @@ -1806,12 +1810,17 @@ tr:hover { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; + align-items: start; } .community-main { padding-right: 2rem; } +.community-events { + align-self: center; +} + .community-title { font-size: 7rem; font-weight: 700; @@ -1830,13 +1839,14 @@ tr:hover { .community-description a { color: var(--accent-primary); - text-decoration: none; + text-decoration: none !important; border-bottom: 1px solid transparent; transition: border-color 0.2s ease; } .community-description a:hover { border-bottom-color: var(--accent-primary); + text-decoration: none !important; } .community-channels h3 { @@ -1848,7 +1858,7 @@ tr:hover { .channel-list { display: grid; - grid-template-columns: repeat(2, 1fr); + grid-template-columns: repeat(3, 1fr); gap: 1rem; } @@ -1861,7 +1871,7 @@ tr:hover { border: 1px solid var(--border-color); border-radius: 12px; color: var(--text-primary); - text-decoration: none; + text-decoration: none !important; font-weight: 500; transition: all 0.2s ease; } @@ -1870,7 +1880,7 @@ tr:hover { border-color: var(--accent-primary); background: rgba(59, 130, 246, 0.05); transform: translateX(4px); - text-decoration: none; + text-decoration: none !important; color: var(--text-primary); } @@ -1956,7 +1966,7 @@ tr:hover { border: 1px solid var(--border-color); border-radius: 6px; color: var(--text-primary); - text-decoration: none; + text-decoration: none !important; font-weight: 500; transition: all 0.2s ease; } @@ -1964,7 +1974,7 @@ tr:hover { .event-link:hover { border-color: var(--accent-primary); background: rgba(59, 130, 246, 0.05); - text-decoration: none; + text-decoration: none !important; color: var(--accent-primary); } @@ -2680,7 +2690,7 @@ tr:hover { .logo-text { font-size: 1.8rem; - font-weight: 700; + font-weight: 400; color: var(--text-primary); font-family: 'Patua One', cursive; letter-spacing: 0.05em; @@ -2732,14 +2742,14 @@ tr:hover { .demo-static-preview { display: block; - text-decoration: none; + text-decoration: none !important; position: relative; transition: all 0.3s ease; } .demo-static-preview:hover { transform: translateY(-8px); - text-decoration: none; + text-decoration: none !important; } .terminal-window { @@ -2960,4 +2970,67 @@ tr:hover { text-decoration: underline; } +/* ===== ARTICLES PAGE SPECIFIC STYLES ===== */ +/* Scoped styles for Articles & Publications page only */ +/* These styles are applied only when .articles-page class is present */ + +/* Increase base font size for better readability */ +.articles-page { + font-size: 18px; + line-height: 1.8; +} + +/* Increase heading sizes */ +.articles-page h1 { + font-size: 3em; + margin-bottom: 1em; + font-weight: 700; +} + +.articles-page h2 { + font-size: 2.2em; + margin-top: 1.5em; + margin-bottom: 0.8em; + font-weight: 600; +} + +.articles-page h3 { + font-size: 1.8em; + margin-top: 1.3em; + margin-bottom: 0.6em; + font-weight: 600; +} + +.articles-page h4 { + font-size: 1.4em; + margin-top: 1em; + margin-bottom: 0.5em; + font-weight: 500; +} + +/* Increase paragraph spacing and readability */ +.articles-page p { + font-size: 1.1em; + margin-bottom: 1.2em; + line-height: 1.8; +} + +/* Better link visibility */ +.articles-page a { + font-size: 1.05em; + font-weight: 500; +} + +/* Improve list readability */ +.articles-page ul, +.articles-page ol { + font-size: 1.1em; + line-height: 1.8; + margin-bottom: 1.2em; +} + +.articles-page li { + margin-bottom: 0.5em; +} + }
