admin-custom-header.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /*
  2. Theme Name: Twenty Fifteen
  3. Description: Used to style the header image displayed on the Appearance > Header screen.
  4. */
  5. .appearance_page_custom-header #headimg {
  6. background: #fff no-repeat 50% 50%;
  7. background-size: cover;
  8. border: none;
  9. box-sizing: border-box;
  10. padding: 7.6923%;
  11. }
  12. #headimg h1,
  13. #desc {
  14. color: #333;
  15. font-family: "Noto Sans", sans-serif;
  16. }
  17. #headimg h1 {
  18. font-size: 22px;
  19. line-height: 1.0909;
  20. margin: 0;
  21. }
  22. #headimg h1 a {
  23. text-decoration: none;
  24. }
  25. #desc {
  26. font-size: 12px;
  27. line-height: 1.5;
  28. margin-top: 0.5em;
  29. opacity: 0.7;
  30. }
  31. @media screen and (min-width: 772px) {
  32. #headimg h1 {
  33. font-size: 29px;
  34. line-height: 1.2069;
  35. margin: 0;
  36. }
  37. #desc {
  38. font-size: 14px;
  39. }
  40. }
  41. @media screen and (min-width: 783px) {
  42. #headimg h1 {
  43. font-size: 22px;
  44. line-height: 1.0909;
  45. }
  46. #desc {
  47. font-size: 12px;
  48. line-height: 1.5;
  49. margin-top: 0.5em;
  50. }
  51. }
  52. @media screen and (min-width: 1172px) {
  53. #headimg h1 {
  54. font-size: 29px;
  55. line-height: 1.2069;
  56. }
  57. #desc {
  58. font-size: 14px;
  59. }
  60. }
  61. @media screen and (min-width: 1313px) {
  62. #headimg h1 {
  63. font-size: 32px;
  64. line-height: 1.25;
  65. }
  66. #desc {
  67. font-size: 16px;
  68. }
  69. }
  70. @media screen and (min-width: 1383px) {
  71. .appearance_page_custom-header #headimg {
  72. background-position: 100% 50%;
  73. height: 1300px;
  74. max-width: 954px;
  75. padding: 83px 83px 0 0;
  76. width: 42%;
  77. }
  78. #headimg h1 {
  79. float: right;
  80. font-size: 27px;
  81. line-height: 1.1852;
  82. width: 248px;
  83. }
  84. #desc {
  85. clear: right;
  86. float: right;
  87. width: 248px;
  88. }
  89. }