Changeset 9262
- Timestamp:
- 11/07/2019 05:16:30 PM (5 years ago)
- Location:
- sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/anon-upload-template.php
r9177 r9262 28 28 } 29 29 30 .page-template-anon-upload-template-php #footer {31 position: absolute;32 bottom: 0;33 right: 0;34 left: 0;35 }36 37 30 .video-upload { 38 padding-bottom: 70px;31 ; 39 32 } 40 33 … … 49 42 .video-upload-left { 50 43 max-width: 550px; 44 51 45 } 52 46 … … 55 49 width: 390px; 56 50 margin: -25px 0 25px; 51 52 53 54 55 56 57 58 57 59 } 58 60 … … 73 75 float: left; 74 76 font-weight: bold; 77 78 79 80 81 82 83 75 84 } 76 85 … … 94 103 background-color: #fff; 95 104 padding: 4px; 96 width: 329px;105 width: ; 97 106 max-width: 329px; 98 107 } 99 108 100 109 .video-upload-left ul.cats-checkboxes { 101 margin-left: 130px;102 110 height: 150px; 103 111 overflow: auto; -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/front-page.php
r9175 r9262 50 50 51 51 <li class="group"> 52 <a href="<?php the_permalink(); ?>" rel="bookmark">53 52 <span class="video-thumbnail"> 53 54 54 <?php $wptv->the_video_image( 50, null, false ); ?> 55 55 56 </span> 56 <span class="video-title"><?php the_title(); ?></span> 57 </a> 57 <span class="video-title"> 58 <a href="<?php the_permalink(); ?>" rel="bookmark"> 59 <?php the_title(); ?> 60 </a> 61 </span> 58 62 <?php $wptv->the_event( '<strong class="video-event">', '</strong>' ); ?> 59 63 </li> -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/header.php
r8377 r9262 16 16 <meta charset="<?php bloginfo( 'charset' ); ?>"> 17 17 18 18 19 <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 19 20 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/sidebar.php
r8450 r9262 1 1 <div class="secondary-content"> 2 2 <ul> 3 <li >3 <li> 4 4 <h3><?php esc_html_e( 'Resources', 'wptv' ); ?></h3> 5 5 -
sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/style.css
r8370 r9262 87 87 } 88 88 89 /* Contain floats */ 90 .group:before, .group:after { 91 content: ""; 92 display: table; 93 } 94 95 .group:after { 96 clear: both; 97 } 98 99 .group { 100 *zoom: 1; 89 iframe { 90 max-width: 100%; 101 91 } 102 92 … … 110 100 background: #fff; 111 101 color: #444; 112 }113 114 .group:after {115 content: ".";116 display: block;117 height: 0;118 clear: both;119 visibility: hidden;120 102 } 121 103 … … 247 229 #header { 248 230 margin-top: 10px; 249 height: 57px; 231 padding: 0 30px; 232 } 233 234 #header:after { 235 clear: both; 236 content: ''; 237 display: table; 250 238 } 251 239 252 240 #header h1 { 253 241 padding-top: 8px; 254 float: left;255 242 } 256 243 257 244 #header .sleeve { 258 width: 942px;245 width: 942px; 259 246 margin: 0 auto; 260 247 } 261 248 262 #menu ul { 263 float: right; 264 height: 57px;; 249 /* Menu */ 250 251 #menu { 252 clear: both; 253 padding: 10px 0; 265 254 } 266 255 267 256 #menu li { 268 float: left; 269 display: block; 270 margin-left: 10px; 271 line-height: 57px; 272 } 257 display: inline-block; 258 font-size: 14px; 259 margin-left: 0; 260 border-bottom: 1px solid white; 261 } 262 263 #menu li:last-child { 264 border-bottom: none; 265 } 266 267 #menu li a { 268 border: 0; 269 padding: 0 5px; 270 } 271 272 #menu #searchform { 273 margin: 0 0 0 15px; 274 } 275 273 276 274 277 #menu li a, 275 278 #menu li a:link, 276 279 #menu li a:visited { 277 padding: 5px;278 color: #555;279 280 text-decoration: none; 280 border: 0;281 281 } 282 282 … … 289 289 } 290 290 291 #searchform { 292 float: right; 293 margin-left: 15px; 291 #menu.toggled .menu-primary-container { 292 display: block; 294 293 } 295 294 … … 304 303 height: 15px; 305 304 padding: 5px 6px; 306 width: 140px;305 width: ; 307 306 -webkit-appearance: textfield; 308 307 } … … 322 321 box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 ); 323 322 } 323 324 324 325 325 326 input[type=submit], button, .button { … … 397 398 } 398 399 400 401 399 402 .intro { 400 403 font-size: 30px; … … 1480 1483 } 1481 1484 1482 #content {1483 width: 100%;1484 float: left;1485 }1486 1487 1485 #content .post { 1488 1486 margin-bottom: 20px; … … 1785 1783 } 1786 1784 1787 . container {1788 width: 940px; 1785 . 1786 #page > .container { 1789 1787 margin: auto; 1788 1789 1790 1790 } 1791 1791 1792 1792 .primary-content { 1793 float: left; 1794 width: 700px; 1793 flex: 1 1 650px; 1795 1794 margin: 0; 1796 1795 } 1797 1796 1798 1797 .secondary-content { 1799 float: right; 1800 width: 200px; 1801 margin: 0 0 50px 0; 1798 flex: 1 1 auto; 1799 margin: 0 30px; 1802 1800 } 1803 1801 … … 1869 1867 /* Typography 1870 1868 ============================================================= */ 1871 1872 /* Menu */1873 1874 #menu {1875 margin-right: 5px;1876 }1877 1878 #menu li {1879 font-size: 14px;1880 }1881 1882 #menu li a,1883 #menu li a:link,1884 #menu li a:visited {1885 color: #21759b;1886 }1887 1888 #menu li a.selected {1889 color: #545454;1890 }1891 1892 #menu li a:hover,1893 #menu li a:focus {1894 color: #d54e21;1895 }1896 1897 #menu #searchform {1898 margin: 0 0 0 15px;1899 }1900 1869 1901 1870 /* Titles and Body Text */ … … 1919 1888 1920 1889 .page-title { 1921 width: 940px;1890 width: 940px; 1922 1891 margin: auto; 1923 1892 } … … 1927 1896 font-weight: bold; 1928 1897 -webkit-font-smoothing: antialiased; 1898 1929 1899 } 1930 1900 … … 2016 1986 2017 1987 .wptv-hero { 2018 clear: both; 2019 2020 margin: 10px auto 30px auto; 2021 padding: 30px 0 10px 0; 2022 1988 margin: 10px auto 30px; 1989 padding: 30px 0 10px; 2023 1990 background: #F0F0F0; 2024 1991 } … … 2026 1993 .wptv-hero .main-video { 2027 1994 background: #2f2f2f; 2028 clear: both; 2029 2030 float: left; 2031 width: 575px; 1995 margin: 0 auto; 1996 max-width: 575px; 1997 position: relative; 2032 1998 } 2033 1999 2034 2000 .wptv-hero .main-video .video-player { 2035 width: 100% !important;2036 height: 323px !important;2037 2001 margin: 0 !important; 2038 2002 } … … 2051 2015 2052 2016 .wptv-hero .main-video .video-player .videopress-title, 2053 .wptv-hero .main-video .video-player .videopress-wate mark {2017 .wptv-hero .main-video .video-player .videopress-watemark { 2054 2018 display: none !important; 2055 2019 } … … 2097 2061 2098 2062 .wptv-hero .secondary-videos { 2099 float: right;2100 width: 345px;2063 ; 2064 5px; 2101 2065 } 2102 2066 … … 2112 2076 .wptv-hero .secondary-videos li { 2113 2077 font-size: 13px; 2114 2115 min-height: 75px; 2116 position: relative; 2117 2118 margin: 0 auto 23px 0; 2119 padding: 0 0 0 142px; 2078 margin: 0 auto 23px; 2079 max-width: 130px; 2120 2080 } 2121 2081 … … 2123 2083 width: 130px; 2124 2084 height: 75px; 2125 2126 position: absolute;2127 left: 0;2128 2085 } 2129 2086 … … 2136 2093 2137 2094 .video-list { 2138 clear: both; 2095 display: flex; 2096 flex-wrap: wrap; 2097 margin: 0 -5px; 2098 } 2099 2100 .video-list:after { 2101 content: ''; 2102 flex: auto; 2139 2103 } 2140 2104 2141 2105 .video-list li { 2142 float: left; 2143 min-height: 220px; 2106 flex: 0 0 160px; 2144 2107 margin-bottom: 20px; 2108 2145 2109 } 2146 2110 … … 2148 2112 display: block; 2149 2113 width: 100%; 2150 height: 100px;2151 2114 2152 2115 margin: 0 0 8px 0; … … 2159 2122 width: 100%; 2160 2123 min-height: 100px; 2161 }2162 2163 .video-list.four-col {2164 width: 860px;2165 }2166 2167 .video-list.four-col li {2168 width: 160px;2169 margin-right: 20px;2170 2124 } 2171 2125 … … 2204 2158 } 2205 2159 2206 .archive.video-list .video-thumbnail {2207 position: absolute;2208 top: 0;2209 left: 0;2210 2211 width: 220px;2212 height: 120px;2213 2214 margin: 0 20px 0 0;2215 }2216 2217 2160 .archive.video-list .video-title { 2218 2161 font-size: 16px; 2219 2162 margin: 4px 0 8px; 2220 }2221 2222 .archive.video-list .video-description {2223 display: block;2224 padding-left: 240px;2225 2163 } 2226 2164 … … 2281 2219 2282 2220 /* Video Player and Placeholder */ 2283 2284 .single .video-player {2285 float: left;2286 width: 940px !important;2287 height: 529px !important;2288 2289 overflow: hidden;2290 }2291 2221 2292 2222 .videopress-placeholder, … … 2419 2349 2420 2350 .category .page-title { 2421 float: left; 2422 width: auto; 2423 margin: -8px 0 20px 0; 2351 flex: 0 0 25%; 2352 margin: -8px auto 20px; 2424 2353 } 2425 2354 2426 2355 .desc { 2427 fl oat: right;2356 fl; 2428 2357 color: #969696; 2429 2358 margin: 3px 0 20px 0; 2430 } 2431 2432 .category-wordcamptv .secondary-content { 2433 float: left; 2434 width: 200px; 2435 } 2436 2437 .category-wordcamptv .primary-content { 2438 float: right; 2439 margin: 0; 2359 text-align: center; 2440 2360 } 2441 2361 … … 2452 2372 .secondary-content ul { 2453 2373 margin: 0 0 40px 0; 2374 2375 2376 2377 2378 2454 2379 } 2455 2380 … … 2469 2394 } 2470 2395 2471 .secondary-content li.widget {2472 border: 0;2473 }2474 2475 2396 /* 404 page 2476 2397 ============================================================= */ 2477 2398 2478 2399 .error404 .primary-content { 2479 width: 940px;2400 width: 940px; 2480 2401 } 2481 2402 … … 2513 2434 #footer { 2514 2435 background: #f0f0f0; 2515 clear: both;2516 2436 color: #888; 2517 height: 3.5em; 2518 margin: 10px 0 15px 0; 2437 margin: 10px 0 0 0; 2519 2438 padding: 10px 0; 2520 2439 } 2521 2440 2522 2441 #footer .automattic { 2523 width: 400px;2524 float: right;2525 text-align: right;2526 2442 font-size: 11px; 2527 2443 letter-spacing: 0.2em; 2528 line-height: 3em; 2444 line-height: 28px; 2445 padding-right: 2px; 2529 2446 padding-top: 13px; 2530 padding-right: 2px;2447 ; 2531 2448 text-transform: uppercase; 2532 line-height: 28px;2533 2449 } 2534 2450 … … 2541 2457 .menu-footer-container, 2542 2458 #footer div.menu { 2543 float: left;2544 2459 line-height: 4em; 2545 margin-left: 2px;2546 2460 font-size: 13px; 2547 2461 margin-bottom: 0; 2548 } 2549 2550 .menu-footer-container li, 2551 #footer div.menu li { 2552 display: inline-block; 2553 margin: 0 10px; 2462 text-align: center; 2554 2463 } 2555 2464 … … 2588 2497 display: inline; 2589 2498 } 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715
Note: See TracChangeset
for help on using the changeset viewer.