Changeset 12646 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/css/components/_main.scss
- Timestamp:
- 06/12/2023 08:55:09 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/css/components/_main.scss
r12338 r12646 1431 1431 1432 1432 .filter-links { 1433 display: flex; 1434 align-items: baseline; 1435 margin: 0; 1436 padding: 0; 1437 } 1438 1439 .filter-links li { 1440 display: block; 1441 margin: 0; 1442 } 1443 1444 .filter-links li > a { 1433 1445 display: inline-block; 1434 1446 margin: 0; 1435 padding: 0; 1436 } 1437 1438 .filter-links li { 1439 display: inline-block; 1440 margin: 0; 1441 } 1442 1443 .filter-links li > a { 1444 display: inline-block; 1445 margin: 0 10px; 1446 padding: 15px 0; 1447 padding: 15px 10px; 1447 1448 border-bottom: 4px solid #fff; 1448 1449 color: #666; … … 1832 1833 } 1833 1834 1835 .wp-filter .filter-links { 1836 display: block; 1837 1838 li { 1839 display: inline-block; 1840 1841 &[style*="flex-grow"] { 1842 display: block; 1843 } 1844 1845 a.filter-tab { 1846 padding-bottom: 10px; 1847 } 1848 } 1849 } 1850 1834 1851 .wp-filter .search-form { 1835 1852 float: none; … … 1901 1918 } 1902 1919 1920 @media only screen and (max-width: 450px) { 1921 .wp-filter { 1922 padding: 0; 1923 } 1924 1925 .wp-filter .filter-links { 1926 padding: 10px 0; 1927 1928 li { 1929 display: block; 1930 1931 &[style*="flex-grow"] { 1932 display: none; 1933 } 1934 1935 a.filter-tab { 1936 padding: 0.5em; 1937 margin-left: 10px; 1938 border-bottom: none; 1939 border-left: 4px solid transparent; 1940 1941 &.current { 1942 border-bottom: none; 1943 border-left-color: #666; 1944 } 1945 } 1946 1947 a.drawer-toggle { 1948 margin-top: 0.5em; 1949 margin-bottom: 0.5em; 1950 border-bottom: none; 1951 } 1952 } 1953 } 1954 } 1955 1903 1956 @media only screen and (max-width: 400px) { 1904 1957 .theme-browser .theme { … … 1916 1969 float: left; 1917 1970 margin-left: 10px; 1918 }1919 1920 .wp-filter {1921 padding: 0 10px;1922 }1923 1924 .wp-filter .filter-links {1925 padding: 0;1926 1971 } 1927 1972 … … 1975 2020 } 1976 2021 } 1977 1978 @media only screen and (max-width: 375px) {1979 .wp-filter .drawer-toggle {1980 float: right;1981 margin-top: 12px;1982 margin-right: 0;1983 }1984 1985 .wp-filter .drawer-toggle:before {1986 margin-right: 0;1987 }1988 }1989 1990 @media only screen and (max-width: 350px) {1991 .wp-filter .drawer-toggle .drawer-text {1992 display: none;1993 }1994 }
Note: See TracChangeset
for help on using the changeset viewer.