Changes for page Public Web Site
Last modified by Agnease on 2026/05/30 16:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -146,7 +146,7 @@ 146 146 </div> 147 147 </section> 148 148 149 - <section class="resource-strip" aria-labelledby="resources-title"> 149 + <section class="resource-strip homepage-resource-strip" aria-labelledby="resources-title"> 150 150 <div class="container"> 151 151 <h2 id="resources-title">Useful XWiki resources</h2> 152 152 <p class="section-intro">
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -329,11 +329,10 @@ 329 329 border: 1px solid @line; 330 330 border-radius: @radius; 331 331 box-shadow: @shadow-sm; 332 - transition: transform .18s ease,box-shadow .18s ease;332 + transition: box-shadow .18s ease; 333 333 334 334 &:hover { 335 - transform: translateY(-2px); 336 - box-shadow: @shadow; 335 + box-shadow: @shadow-sm; 337 337 } 338 338 } 339 339 ... ... @@ -624,6 +624,77 @@ 624 624 } 625 625 } 626 626 626 +/* ========== Homepage Resource Strip ========== */ 627 + 628 +.homepage-resource-strip { 629 + background: 630 + radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 70%); 631 + 632 + .resource-grid { 633 + max-width: 1040px; 634 + margin: 26px auto 0; 635 + display: grid; 636 + grid-template-columns: repeat(2, minmax(0, 1fr)); 637 + grid-gap: 22px; 638 + align-items: stretch; 639 + } 640 + 641 + .resource-card { 642 + display: flex; 643 + flex-direction: column; 644 + min-width: 0; 645 + min-height: 100%; 646 + padding: 26px; 647 + } 648 + 649 + .resource-card h4 { 650 + margin: 0 0 10px; 651 + color: @text; 652 + font-size: 21px; 653 + line-height: 1.25; 654 + font-weight: 700; 655 + } 656 + 657 + .resource-card p { 658 + margin: 0 0 18px; 659 + color: @muted; 660 + font-size: 15px; 661 + line-height: 1.6; 662 + } 663 + 664 + .resource-card a { 665 + margin-top: auto; 666 + color: @brand; 667 + font-weight: 700; 668 + text-decoration: underline; 669 + 670 + &:hover, 671 + &:focus { 672 + color: @brand-strong; 673 + } 674 + } 675 +} 676 + 677 +@media (max-width: 980px) { 678 + .homepage-resource-strip { 679 + .resource-grid { 680 + grid-template-columns: 1fr; 681 + } 682 + } 683 +} 684 + 685 +@media (max-width: 640px) { 686 + .homepage-resource-strip { 687 + .resource-card { 688 + padding: 22px; 689 + } 690 + 691 + .resource-card h4 { 692 + font-size: 19px; 693 + } 694 + } 695 +} 696 + 627 627 /* ========== CTA ========== */ 628 628 629 629 .cta-section {
- XWiki.StyleSheetExtension[1]
-
- code
-
... ... @@ -1,39 +1,55 @@ 1 1 /* ========== Agnease Public Top Menu ========== */ 2 2 3 -.agnease-menu-item { 4 - .dropdown-toggle { 5 - font-weight: inherit; 6 - font-size: inherit; 3 +/* Desktop alignment */ 4 +#menuview .navbar-nav { 5 + float: right !important; 6 +} 7 + 8 +/* Top-level menu items */ 9 + 10 +.agnease-menu-item, 11 +.agnease-menu-link { 12 + > a, 13 + > .dropdown-toggle { 14 + color: @brand; 15 + font-size: 17px; 16 + font-weight: 600; 17 + padding-left: 16px; 18 + padding-right: 16px; 19 + text-decoration: none; 7 7 } 8 8 22 + > a:hover, 23 + > a:focus, 24 + > a:active, 25 + &.open > a, 26 + &.active > a { 27 + color: @brand-strong; 28 + text-decoration: none; 29 + outline: none; 30 + } 31 + 9 9 .caret { 10 - margin-left: 4px;33 + margin-left: 5px; 11 11 border-top-color: @brand; 12 12 border-bottom-color: @brand; 13 13 } 14 14 15 - &.open > .dropdown-toggle, 16 - .dropdown-toggle:hover, 17 - .dropdown-toggle:focus { 18 - color: @brand-strong; 19 - background: transparent; 20 - background-color: transparent; 21 - box-shadow: none; 22 - } 23 - 24 - &.open > .dropdown-toggle .caret, 25 - .dropdown-toggle:hover .caret, 26 - .dropdown-toggle:focus .caret { 38 + > a:hover .caret, 39 + > a:focus .caret, 40 + > a:active .caret, 41 + &.open > a .caret, 42 + &.active > a .caret { 27 27 border-top-color: @brand-strong; 28 28 border-bottom-color: @brand-strong; 29 29 } 30 30 } 31 31 32 -/* Dropdown panel s*/48 +/* Dropdown panel */ 33 33 34 34 .agnease-dropdown { 35 - min-width: 270px;36 - padding: 8px; 51 + min-width: 310px; 52 + padding: 10px 8px; 37 37 border: 1px solid fade(@brand, 18%); 38 38 border-radius: 12px; 39 39 background: #fff; ... ... @@ -42,22 +42,21 @@ 42 42 > li > a { 43 43 display: flex; 44 44 align-items: center; 45 - gap: 10px; 46 - padding: 9px 11px; 47 - border-radius: 9px; 61 + gap: 12px; 62 + padding: 11px 14px; 48 48 color: @brand; 49 - background: transparent; 50 50 white-space: nowrap; 51 - font-size: 14px; 52 - font-weight: 700; 53 - line-height: 1.25; 65 + font-size: 16px; 66 + font-weight: 600; 67 + line-height: 1.3; 68 + text-decoration: none; 54 54 55 55 i { 56 - width: 18px;57 - flex: 0 0 18px;71 + width: 20px; 72 + flex: 0 0 20px; 58 58 color: @brand; 59 59 text-align: center; 60 - font-size: 1 4px;75 + font-size: 15px; 61 61 } 62 62 63 63 &:hover, ... ... @@ -64,7 +64,6 @@ 64 64 &:focus, 65 65 &:active { 66 66 color: @brand-strong; 67 - background: fade(@brand, 8%); 68 68 text-decoration: none; 69 69 outline: none; 70 70 ... ... @@ -74,12 +74,8 @@ 74 74 } 75 75 } 76 76 77 - > .active > a, 78 - > .active > a:hover, 79 - > .active > a:focus { 91 + > .active > a { 80 80 color: @brand-strong; 81 - background: fade(@brand, 10%); 82 - text-decoration: none; 83 83 84 84 i { 85 85 color: @brand-strong; ... ... @@ -87,32 +87,30 @@ 87 87 } 88 88 89 89 .divider { 90 - margin: 7px 0;100 + margin: 8px 0; 91 91 background-color: fade(@brand, 16%); 92 92 } 93 93 } 94 94 95 -.agnease-products-dropdown, 96 -.agnease-resources-dropdown { 97 - min-width: 260px; 98 -} 105 +/* Mobile */ 99 99 100 -/* Remove gray Bootstrap dropdown item states */ 101 -.dropdown-menu > li > a:hover, 102 -.dropdown-menu > li > a:focus { 103 - background-image: none; 104 -} 105 - 106 -/* ========== Mobile Menu ========== */ 107 - 108 108 @media (max-width: 767px) { 109 - .navbar-nav > li.agnease-menu-item > a, 110 - .navbar-nav > li > a { 111 - padding-top: 8px; 112 - padding-bottom: 8px; 113 - font-size: 14px; 108 + .site-nav { 109 + margin-left: 0; 110 + justify-content: center; 111 + flex-wrap: wrap; 114 114 } 115 115 114 + .agnease-menu-item, 115 + .agnease-menu-link { 116 + > a, 117 + > .dropdown-toggle { 118 + font-size: 16px; 119 + padding-top: 9px; 120 + padding-bottom: 9px; 121 + } 122 + } 123 + 116 116 .agnease-dropdown { 117 117 min-width: 0; 118 118 width: 100%; ... ... @@ -120,31 +120,21 @@ 120 120 border: 0; 121 121 border-radius: 0; 122 122 box-shadow: none; 123 - background: #fff;131 + background: transparent; 124 124 125 125 > li > a { 126 126 padding: 8px 10px; 127 127 white-space: normal; 128 - font-size: 14px; 129 - border-radius: 8px; 130 - color: @brand; 136 + font-size: 15px; 131 131 132 132 i { 133 - width: 1 6px;134 - flex-basis: 1 6px;139 + width: 18px; 140 + flex-basis: 18px; 135 135 } 136 - 137 - &:hover, 138 - &:focus, 139 - &:active { 140 - color: @brand-strong; 141 - background: fade(@brand, 8%); 142 - } 143 143 } 144 144 145 145 .divider { 146 146 margin: 5px 0; 147 - background-color: fade(@brand, 16%); 148 148 } 149 149 } 150 150 }