Changeset 10231 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/css/vendor/_legacy-styles.scss
- Timestamp:
- 09/03/2020 01:57:15 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/css/vendor/_legacy-styles.scss
r10142 r10231 2748 2748 } 2749 2749 2750 .site-header .site-title--no-mobile { 2751 display: none; 2752 2753 @media screen and (min-width: 800px) { 2754 display: inline-block; 2755 } 2756 } 2757 2758 @media screen and (min-width: 737px) { 2759 .site-header:not(.home) .site-branding { 2760 display: flex; 2761 align-items: center; 2762 justify-content: space-between; 2763 } 2764 } 2765 2750 2766 @media screen and (min-width: 48em) { 2751 2767 .site-header .site-branding { … … 2866 2882 color: rgba(255, 255, 255, 0.8); 2867 2883 display: block; 2868 font-size: 0.8rem;2884 font-size: 14px; 2869 2885 text-decoration: none; 2870 2886 } … … 2878 2894 border-bottom: 1px solid; 2879 2895 } 2880 }2881 2882 .main-navigation button.button-search {2883 display: none;2884 2896 } 2885 2897 … … 2897 2909 2898 2910 /* Small menu. */ 2899 .main-navigation.toggled ul {2900 display: block;2901 }2902 2911 2903 2912 .menu-toggle.dashicons { … … 2919 2928 } 2920 2929 2921 @media screen and (min-width: 48em) {2930 @media screen and (min-width: 737px) { 2922 2931 .menu-toggle.dashicons { 2923 2932 display: none; 2924 2933 } 2934 2925 2935 .main-navigation { 2926 2936 float: right; … … 2929 2939 top: auto; 2930 2940 } 2941 2931 2942 .main-navigation.toggled { 2932 2943 padding: 1px 0; 2933 2944 } 2945 2934 2946 .main-navigation ul { 2935 display: inline-block; 2936 font-size: 0; 2937 } 2947 display: flex !important; 2948 align-items: center; 2949 font-size: 14px; 2950 2951 } 2952 2938 2953 .main-navigation ul li { 2939 2954 border: 0; … … 2943 2958 padding: 0; 2944 2959 } 2960 2945 2961 .main-navigation ul li:last-of-type { 2946 2962 margin-right: 0; 2947 2963 } 2964 2948 2965 .main-navigation button.button-search { 2949 2966 display: inline-block; … … 2989 3006 } 2990 3007 2991 .site-main .no-results {2992 margin: 0 auto;2993 max-width: 35.527136788rem;2994 padding: 0 2rem;2995 }2996 2997 3008 /*-------------------------------------------------------------- 2998 3009 # .sidebar … … 3010 3021 border-top: 1px solid #eee; 3011 3022 padding: 0.5rem 0; 3012 }3013 3014 /*--------------------------------------------------------------3015 # .search-form3016 --------------------------------------------------------------*/3017 .search-form {3018 font-size: 0;3019 margin-bottom: 2rem;3020 max-width: 100%;3021 position: relative;3022 }3023 3024 .search-form .search-field {3025 border: none;3026 border-radius: 0;3027 box-shadow: none;3028 display: block;3029 font-size: 1rem;3030 margin: 0 auto;3031 max-width: 100%;3032 padding: 0.5rem;3033 width: 22.7373675443rem;3034 }3035 3036 .search-form .button-search {3037 border-left: none;3038 border-radius: 0 2px 2px 0;3039 font-size: 1rem;3040 position: relative;3041 right: auto;3042 top: auto;3043 }3044 3045 .search-form .button-search:active {3046 background: #006799;3047 border-right: 1px solid #006799;3048 box-shadow: none;3049 }3050 3051 .search-form .button-search .dashicons {3052 font-size: 1rem;3053 }3054 3055 .site-header .search-form {3056 display: inline-block;3057 }3058 3059 .site-header.home .search-form .button-search,3060 .site-main .search-form .button-search {3061 background: transparent;3062 border: none;3063 border-radius: 0;3064 box-shadow: none;3065 color: #32373c;3066 display: block;3067 height: 45px;3068 padding: 0.5rem 1rem;3069 position: absolute;3070 right: 0;3071 text-shadow: none;3072 top: 0;3073 }3074 3075 .site-header.home .search-form .button-search:focus,3076 .site-main .search-form .button-search:focus {3077 box-shadow: 0 0 2px 1px #33b3db;3078 }3079 3080 .site-header.home .search-form .button-search:active,3081 .site-main .search-form .button-search:active {3082 background: transparent;3083 border: none;3084 transform: none;3085 }3086 3087 .site-header:not(.home) .search-form {3088 margin: 0;3089 }3090 3091 .site-header:not(.home) .search-form .search-field {3092 border: 0;3093 border-radius: 2px;3094 display: inline-block;3095 font-size: 1rem;3096 padding: 5px 10px;3097 position: relative;3098 width: 100%;3099 }3100 3101 @media screen and (min-width: 48em) {3102 .site-header:not(.home) .search-form .search-field {3103 border-radius: 2px 0 0 2px;3104 font-size: 0.64rem;3105 width: 7rem;3106 }3107 .site-header:not(.home) .search-form .search-field + .button-search {3108 display: inline-block;3109 margin-bottom: 0;3110 }3111 }3112 3113 @media screen and (min-width: 60em) {3114 .site-header:not(.home) .search-form .search-field {3115 width: 10rem;3116 }3117 }3118 3119 .site-main .search-form .search-field {3120 border: 1px solid #ddd;3121 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);3122 padding: 0.5rem;3123 width: 100%;3124 }3125 3126 .search .site-main {3127 margin-top: 2rem;3128 padding-top: 0;3129 }3130 3131 .search.search-results .page-header {3132 margin: 2rem 0;3133 3023 } 3134 3024
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)