Making WordPress.org


Ignore:
Timestamp:
09/03/2020 01:57:15 AM (6 years ago)
Author:
dufresnesteven
Message:

Learn: Sync with GitHub

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  
    27482748}
    27492749
     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
    27502766@media screen and (min-width: 48em) {
    27512767        .site-header .site-branding {
    … …  
    28662882        color: rgba(255, 255, 255, 0.8);
    28672883        display: block;
    2868         font-size: 0.8rem;
     2884        font-size: 14px;
    28692885        text-decoration: none;
    28702886}
    … …  
    28782894                border-bottom: 1px solid;
    28792895        }
    2880 }
    2881 
    2882 .main-navigation button.button-search {
    2883         display: none;
    28842896}
    28852897
    … …  
    28972909
    28982910/* Small menu. */
    2899 .main-navigation.toggled ul {
    2900         display: block;
    2901 }
    29022911
    29032912.menu-toggle.dashicons {
    … …  
    29192928}
    29202929
    2921 @media screen and (min-width: 48em) {
     2930@media screen and (min-width: 737px) {
    29222931        .menu-toggle.dashicons {
    29232932                display: none;
    29242933        }
     2934
    29252935        .main-navigation {
    29262936                float: right;
    … …  
    29292939                top: auto;
    29302940        }
     2941
    29312942        .main-navigation.toggled {
    29322943                padding: 1px 0;
    29332944        }
     2945
    29342946        .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
    29382953        .main-navigation ul li {
    29392954                border: 0;
    … …  
    29432958                padding: 0;
    29442959        }
     2960
    29452961        .main-navigation ul li:last-of-type {
    29462962                margin-right: 0;
    29472963        }
     2964
    29482965        .main-navigation button.button-search {
    29492966                display: inline-block;
    … …  
    29893006}
    29903007
    2991 .site-main .no-results {
    2992         margin: 0 auto;
    2993         max-width: 35.527136788rem;
    2994         padding: 0 2rem;
    2995 }
    2996 
    29973008/*--------------------------------------------------------------
    29983009# .sidebar
    … …  
    30103021        border-top: 1px solid #eee;
    30113022        padding: 0.5rem 0;
    3012 }
    3013 
    3014 /*--------------------------------------------------------------
    3015 # .search-form
    3016 --------------------------------------------------------------*/
    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;
    31333023}
    31343024
Note: See TracChangeset for help on using the changeset viewer.