Changes for page Public Web Site
Last modified by Agnease on 2026/07/03 16:14
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -748,68 +748,112 @@ 748 748 color: @brand; 749 749 } 750 750 } 751 +} 751 751 752 - .cta-panel { 753 - position: relative; 754 - overflow: hidden; 755 - max-width: 1040px; 756 - margin: 0 auto; 757 - padding: 48px 40px; 758 - border: 0; 759 - border-radius: 26px; 753 +.cta-panel { 754 + position: relative; 755 + overflow: hidden; 756 + max-width: 1040px; 757 + margin: 0 auto; 758 + padding: 48px 40px; 759 + border: 0; 760 + border-radius: 26px; 761 + background: 762 + radial-gradient(circle at 88% 10%, fade(@brand, 24%) 0%, transparent 30%), 763 + linear-gradient(135deg, @text 0%, @text-soft 100%); 764 + color: #fff; 765 + box-shadow: @shadow; 766 + text-align: center; 767 + 768 + &::before { 769 + content: ""; 770 + position: absolute; 771 + inset: 0; 760 760 background: 761 - radial-gradient(circle at 88% 10%, fade(@brand, 24%) 0%, transparent 30%), 762 - linear-gradient(135deg, @text 0%, @text-soft 100%); 773 + linear-gradient(90deg, fade(#fff, 4%) 1px, transparent 1px), 774 + linear-gradient(180deg, fade(#fff, 4%) 1px, transparent 1px); 775 + background-size: 48px 48px; 776 + opacity: .4; 777 + pointer-events: none; 778 + } 779 + 780 + h2, 781 + p, 782 + .btn { 783 + position: relative; 784 + z-index: 1; 785 + } 786 + 787 + h2 { 788 + max-width: 760px; 789 + margin: 0 auto 16px; 763 763 color: #fff; 764 - box-shadow: @shadow; 765 - text-align: center; 791 + } 766 766 767 - &::before { 768 - content: ""; 769 - position: absolute; 770 - inset: 0; 771 - background: 772 - linear-gradient(90deg, fade(#fff, 4%) 1px, transparent 1px), 773 - linear-gradient(180deg, fade(#fff, 4%) 1px, transparent 1px); 774 - background-size: 48px 48px; 775 - opacity: .4; 776 - pointer-events: none; 777 - } 793 + p { 794 + max-width: 760px; 795 + margin: 0 auto 28px; 796 + color: #DBE4EF; 797 + font-size: 16px; 798 + line-height: 1.6; 799 + } 778 778 779 - h2, 780 - p, 781 - .btn { 782 - position: relative; 783 - z-index: 1; 784 - } 801 + .btn-primary { 802 + border-color: #fff; 803 + background: #fff; 804 + color: @text; 805 + box-shadow: 0 18px 42px rgba(0, 0, 0, .18); 785 785 786 - h2 { 787 - max-width: 760px; 788 - margin: 0 auto 16px; 789 - color: #fff; 807 + &:hover, 808 + &:focus { 809 + border-color: #fff; 810 + background: #fff; 811 + color: @brand-strong; 812 + text-decoration: none; 790 790 } 814 + } 815 +} 791 791 817 +.resource-inline-cta { 818 + display: flex; 819 + align-items: center; 820 + justify-content: space-between; 821 + gap: 22px; 822 + margin: 30px 0; 823 + padding: 20px 22px; 824 + border: 1px solid fade(@brand, 22%); 825 + border-radius: @radius; 826 + background: @brand-bg; 827 + box-shadow: @shadow-sm; 828 + 829 + p { 830 + margin: 0; 831 + color: @muted; 832 + line-height: 1.55; 833 + } 834 + 835 + strong { 836 + color: @text; 837 + } 838 + 839 + .btn { 840 + flex-shrink: 0; 841 + } 842 +} 843 + 844 +@media (max-width: 767px) { 845 + .resource-inline-cta { 846 + display: block; 847 + text-align: center; 848 + 792 792 p { 793 - max-width: 760px; 794 - margin: 0 auto 28px; 795 - color: #DBE4EF; 796 - font-size: 16px; 797 - line-height: 1.6; 850 + margin-bottom: 14px; 798 798 } 799 799 800 - .btn-primary { 801 - border-color: #fff; 802 - background: #fff; 803 - color: @text; 804 - box-shadow: 0 18px 42px rgba(0, 0, 0, .18); 805 - 806 - &:hover, 807 - &:focus { 808 - border-color: #fff; 809 - background: #fff; 810 - color: @brand-strong; 811 - text-decoration: none; 812 - } 853 + .btn { 854 + display: inline-block; 855 + margin-left: auto; 856 + margin-right: auto; 813 813 } 814 814 } 815 815 } ... ... @@ -901,14 +901,12 @@ 901 901 gap: 14px; 902 902 } 903 903 904 - .cta-section { 905 - .cta-panel { 906 - padding: 30px 22px; 907 - border-radius: 20px; 948 + .cta-panel { 949 + padding: 30px 22px; 950 + border-radius: 20px; 908 908 909 - .btn-primary { 910 - width: 100%; 911 - } 952 + .btn-primary { 953 + width: 100%; 912 912 } 913 913 } 914 914 } ... ... @@ -1819,3 +1819,96 @@ 1819 1819 } 1820 1820 } 1821 1821 1864 +/* ========== Accessibility / Contrast Improvements ========== */ 1865 + 1866 +/* Make the global background softer and less distracting. */ 1867 +body { 1868 + background: 1869 + radial-gradient(circle at 12% 8%, rgba(0, 147, 125, 0.035) 0, transparent 26%), 1870 + radial-gradient(circle at 90% 28%, rgba(7, 24, 45, 0.025) 0, transparent 30%), 1871 + linear-gradient(180deg, #fff 0, @brand-bg 42%, #fff 100%) !important; 1872 + background-attachment: scroll; 1873 +} 1874 + 1875 +/* Keep the article area readable while preserving the page background around it. */ 1876 +#mainContentArea .resource-layout { 1877 + padding: 28px; 1878 + border: 1px solid fade(@line, 85%); 1879 + border-radius: @radius; 1880 + background: rgba(255, 255, 255, .88); 1881 + box-shadow: @shadow-sm; 1882 +} 1883 + 1884 +/* Ensure all reusable cards have a real surface, not transparent over the gradient. */ 1885 +#mainContentArea .widget, 1886 +#mainContentArea .pathway-card, 1887 +#mainContentArea .service-card, 1888 +#mainContentArea .resource-card, 1889 +#mainContentArea .services .service, 1890 +#mainContentArea .product-card, 1891 +#mainContentArea .product-feature, 1892 +#mainContentArea .product-summary-card, 1893 +#mainContentArea .product-info-card { 1894 + background: #fff; 1895 +} 1896 + 1897 +/* Make notes more readable and visually stronger. */ 1898 +#mainContentArea .resource-note { 1899 + border: 1px solid fade(@brand, 18%); 1900 + border-left: 4px solid @brand; 1901 + background: #fff; 1902 + box-shadow: 0 10px 28px rgba(15, 23, 42, .045); 1903 +} 1904 + 1905 +/* Keep the sidebar clearly separated from the background. */ 1906 +#mainContentArea .resource-sidebar { 1907 + background: #fff; 1908 +} 1909 + 1910 +/* Make CTA panels stand out more clearly. */ 1911 +#mainContentArea .cta-panel, 1912 +#mainContentArea .resource-cta, 1913 +#mainContentArea .resource-inline-cta { 1914 + background: #fff; 1915 +} 1916 + 1917 +/* Improve table readability on long resource pages. */ 1918 +#mainContentArea .resource-content table { 1919 + background: #fff; 1920 +} 1921 + 1922 +#mainContentArea .resource-content table th { 1923 + color: @text; 1924 + background: #F8FAFC; 1925 +} 1926 + 1927 +#mainContentArea .resource-content table td { 1928 + color: @text-soft; 1929 +} 1930 + 1931 +/* Slightly improve paragraph/list contrast in long articles. */ 1932 +#mainContentArea .resource-content p, 1933 +#mainContentArea .resource-content li { 1934 + color: @text-soft; 1935 +} 1936 + 1937 +#mainContentArea .resource-content .resource-note p, 1938 +#mainContentArea .resource-content .resource-checklist li, 1939 +#mainContentArea .resource-content .process-list li { 1940 + color: @muted; 1941 +} 1942 + 1943 +@media (max-width: 900px) { 1944 + #mainContentArea .resource-layout { 1945 + padding: 22px; 1946 + } 1947 +} 1948 + 1949 +@media (max-width: 640px) { 1950 + #mainContentArea .resource-layout { 1951 + padding: 18px; 1952 + border-radius: 14px; 1953 + } 1954 +} 1955 + 1956 +