pen-header.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  1. #pen_header {
  2. float: left;
  3. left: 0;
  4. margin: 0;
  5. padding: 0;
  6. position: relative;
  7. top: 0;
  8. width: 100%;
  9. z-index: 50000;
  10. }
  11. #pen_header .pen_logo .customize-partial-edit-shortcut button {
  12. left: 0 !important;
  13. }
  14. #pen_header .pen_header_inner {
  15. background: -ms-linear-gradient(325deg, #ffffff 0%, #dddddd 100%);
  16. background: linear-gradient(125deg, #ffffff 0%, #dddddd 100%);
  17. float: left;
  18. padding: 0;
  19. position: relative;
  20. width: 100%;
  21. z-index: 100;
  22. }
  23. body.pen_drop_shadow #pen_header .pen_header_inner {
  24. box-shadow: 0 0 15px rgba(0,0,0,0.2), 2px 2px 7px rgba(0,0,0,0.3);
  25. }
  26. body.pen_round_corners.pen_width_boxed #pen_header,
  27. body.pen_round_corners.pen_width_boxed #pen_header.pen_navigation_hide .pen_header_inner {
  28. border-radius: 0 0 5px 5px;
  29. }
  30. body.pen_round_corners.pen_width_boxed #pen_header.pen_navigation_hide.pen_search_show_toolbar .pen_header_inner {
  31. border-radius: 0;
  32. }
  33. #pen_header .pen_header_inner .pen_header_main {
  34. float: left;
  35. min-height: 50px;
  36. position: relative;
  37. width: 100%;
  38. z-index: 200;
  39. }
  40. body.pen_drop_shadow #pen_header .pen_header_inner .pen_header_main {
  41. text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
  42. }
  43. #pen_header .pen_header_main a {
  44. color: #555;
  45. }
  46. #pen_header h1 {
  47. float: left;
  48. margin: 0;
  49. padding: 0;
  50. position: relative;
  51. white-space: nowrap;
  52. }
  53. #pen_header h1 a {
  54. margin: 0;
  55. padding: 0;
  56. text-decoration: none;
  57. }
  58. #pen_header h1 a:focus,
  59. #pen_header h1 a:hover,
  60. #pen_header h1 a:active {
  61. outline: none;
  62. }
  63. body.pen_header_logo_size_height #pen_header h1 .custom-logo-link img {
  64. max-height: 125px;
  65. width: auto;
  66. }
  67. body.pen_header_logo_size_width #pen_header h1 .custom-logo-link img {
  68. height: auto;
  69. max-width: 125px;
  70. }
  71. #pen_header h1 a .site-title,
  72. #pen_header h1 a .site-description {
  73. line-height: 1;
  74. margin: 0;
  75. padding: 0;
  76. }
  77. #pen_header h1 a .site-description:not(:empty) {
  78. margin: 0 0 1em;
  79. }
  80. body.pen_header_alignment_center #pen_header h1 a .site-description {
  81. margin-bottom: 0 !important;
  82. }
  83. #pen_header h1 a .site-title {
  84. font-family: "roboto_slabbold", Arial, Helvetica, Sans-serif;
  85. font-weight: normal;
  86. letter-spacing: -1px;
  87. padding: 0.5em 0;
  88. }
  89. body.pen_header_sticky #pen_header h1 a .site-title,
  90. body.pen_header_sticky #pen_header h1 a .site-description,
  91. body.pen_header_sticky #pen_header .pen_header_main .pen_phone a {
  92. transition: font-size .3s, padding .3s;
  93. }
  94. body.pen_header_sticky #pen_header.pen_header_sticked h1 a.pen_has_title .site-description {
  95. padding: 0.25em 0 0;
  96. }
  97. #pen_header h1 a .site-description {
  98. float: left;
  99. font-size: 0.571em;
  100. font-weight: normal;
  101. margin: 0;
  102. padding: 0;
  103. width: 100%;
  104. }
  105. #pen_header h1 .custom-logo-link {
  106. margin: 0;
  107. }
  108. body.pen_header_logo_size_height #pen_header h1 .custom-logo-link img {
  109. max-height: 125px;
  110. width: auto;
  111. }
  112. body.pen_header_logo_size_width #pen_header h1 .custom-logo-link img {
  113. height: auto;
  114. max-width: 125px;
  115. }
  116. body.pen_header_sticky #pen_header h1 .custom-logo-link img {
  117. transition: height .3s, max-height .3s, max-width .3s, width .3s;
  118. }
  119. body.pen_header_sticky.pen_header_logo_size_height #pen_header.pen_header_sticked h1 .custom-logo-link img {
  120. max-height: 64px;
  121. width: auto;
  122. }
  123. body.pen_header_sticky.pen_header_logo_size_width #pen_header.pen_header_sticked h1 .custom-logo-link img {
  124. height: auto;
  125. max-width: 64px;
  126. }
  127. #pen_header .pen_phone {
  128. font-family: "roboto_slabregular", Arial, Helvetica, Sans-serif;
  129. font-size: 1.5em;
  130. line-height: 1;
  131. }
  132. #pen_header .pen_header_main .pen_phone a {
  133. color: #777;
  134. text-decoration: none;
  135. }
  136. #pen_header .pen_header_main .pen_phone a:focus,
  137. #pen_header .pen_header_main .pen_phone a:hover,
  138. #pen_header .pen_header_main .pen_phone a:active {
  139. color: #333;
  140. text-decoration: none;
  141. }
  142. body.pen_header_sticky #pen_header.pen_header_sticked h1 a .site-title,
  143. body.pen_header_sticky #pen_header.pen_header_sticked .pen_header_main .pen_phone a {
  144. font-size: 1em;
  145. }
  146. #pen_header .pen_social_networks ul,
  147. #pen_header .pen_social_networks li {
  148. list-style: none;
  149. margin: 0;
  150. padding: 0;
  151. }
  152. #pen_header .pen_social_networks a {
  153. display: inline-block;
  154. font-weight: normal;
  155. padding: 0.25em;
  156. text-decoration: none;
  157. transition: color .3s;
  158. }
  159. #pen_header .pen_social_networks a:focus,
  160. #pen_header .pen_social_networks a:hover,
  161. #pen_header .pen_social_networks a:active {
  162. border: 0 none;
  163. color: #333;
  164. outline: 0;
  165. text-decoration: none;
  166. }
  167. #pen_header .pen_social_networks a:before {
  168. font-family: "FontAwesome";
  169. font-weight: normal;
  170. }
  171. #pen_header .pen_social_networks li {
  172. display: inline-block;
  173. font-size: 1.286em;
  174. line-height: 1;
  175. margin: 0;
  176. }
  177. #pen_header .pen_social_networks li.pen_twitter a:before {
  178. content: "\f081";
  179. }
  180. #pen_header .pen_social_networks li.pen_facebook a:before {
  181. content: "\f082";
  182. }
  183. #pen_header .pen_social_networks li.pen_instagram a:before {
  184. content: "\f16d";
  185. }
  186. #pen_header .pen_social_networks li.pen_pinterest a:before {
  187. content: "\f0d3";
  188. }
  189. #pen_header .pen_social_networks li.pen_linkedin a:before {
  190. content: "\f08c";
  191. }
  192. #pen_header .pen_social_networks li.pen_bitbucket a:before {
  193. content: "\f172";
  194. }
  195. #pen_header .pen_social_networks li.pen_flickr a:before {
  196. content: "\f16e";
  197. }
  198. #pen_header .pen_social_networks li.pen_github a:before {
  199. content: "\f1d2";
  200. }
  201. #pen_header .pen_social_networks li.pen_slack a:before {
  202. content: "\f198";
  203. }
  204. #pen_header .pen_social_networks li.pen_skype a:before {
  205. content: "\f17e";
  206. }
  207. #pen_header .pen_social_networks li.pen_vk a:before {
  208. content: "\f189";
  209. }
  210. #pen_header .pen_social_networks li.pen_telegram a:before {
  211. content: "\f2c6";
  212. }
  213. #pen_header .pen_social_networks li.pen_whatsapp a:before {
  214. content: "\f232";
  215. }
  216. #pen_header .pen_social_networks li.pen_rss a:before {
  217. content: "\f143";
  218. }
  219. #pen_header .pen_social_networks li.pen_email a:before {
  220. content: "\f199";
  221. }
  222. #pen_header .pen_header_main .search-form {
  223. position: relative;
  224. }
  225. #pen_header .pen_header_main .search-form .search-field {
  226. background: rgba(255,255,255,0.9);
  227. border: 0 none;
  228. font-size: 0.857em;
  229. line-height: 1;
  230. margin-left: -1px !important;
  231. padding: 0.75em 37% 0.75em 1em;
  232. transition: box-shadow .2s;
  233. width: 100%;
  234. }
  235. body.pen_drop_shadow #pen_header .pen_header_main .search-form .search-field {
  236. box-shadow: 2px 2px 4px rgba(0,0,0,0.25) inset;
  237. }
  238. body.pen_round_corners #pen_header .pen_header_main .search-form .search-field {
  239. border-radius: 50px;
  240. }
  241. #pen_header .pen_header_main .search-form .search-field:focus,
  242. #pen_header .pen_header_main .search-form .search-field:active {
  243. outline: none !important;
  244. text-decoration: none;
  245. }
  246. body.pen_drop_shadow #pen_header .pen_header_main .search-form .search-field:focus,
  247. body.pen_drop_shadow #pen_header .pen_header_main .search-form .search-field:active {
  248. box-shadow: 2px 2px 2px rgba(0,0,0,0.2) inset, 0 0 7px #0087cc;
  249. }
  250. #pen_header .pen_header_main .search-form .search-submit {
  251. background: #00a9ff;
  252. background: -ms-linear-gradient(top, #00a9ff 0%, #093a89 100%);
  253. background: linear-gradient(to bottom, #00a9ff 0%, #093a89 100%);
  254. border: 0 none;
  255. color: #fff;
  256. font-weight: bold;
  257. height: 100%;
  258. margin-right: -1px !important;
  259. min-height: 100%;
  260. padding: 0.75em 0;
  261. position: absolute;
  262. right: 0;
  263. text-align: center;
  264. text-transform: uppercase;
  265. top: 0;
  266. width: 35%;
  267. z-index: 1000;
  268. }
  269. body.pen_drop_shadow #pen_header .pen_header_main .search-form .search-submit {
  270. box-shadow: 1px 1px 1px rgba(255,255,255,0.1) inset, -1px -1px 1px rgba(0,0,0,0.2) inset;
  271. text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
  272. }
  273. body.pen_round_corners #pen_header .pen_header_main .search-form .search-submit {
  274. border-radius: 0 50px 50px 0;
  275. }
  276. #pen_header .pen_header_main .search-form .search-submit:active {
  277. background: #093a89;
  278. text-decoration: none;
  279. }
  280. #pen_header .pen_header_main .search-form .search-submit:focus,
  281. #pen_header .pen_header_main .search-form .search-submit:active {
  282. outline: 0 !important;
  283. }
  284. body.pen_header_alignment_center #pen_header_primary,
  285. body.pen_header_alignment_center #pen_header_secondary {
  286. float: left;
  287. width: 100%;
  288. }
  289. @media only screen and (min-width:728px) {
  290. #pen_header .pen_header_main .pen_container {
  291. min-height: 55px;
  292. position: relative;
  293. }
  294. #pen_header h1 a {
  295. float: left;
  296. }
  297. #pen_header h1 a.custom-logo-link {
  298. float: none;
  299. }
  300. body.pen_header_alignment_left #pen_header.pen_has_logo h1 a#site-title,
  301. body.pen_header_alignment_right #pen_header.pen_has_logo h1 a#site-title,
  302. body.pen_header_alignment_center #pen_header.pen_has_logo h1 a#site-title {
  303. position: absolute;
  304. right: 0;
  305. top: 50%;
  306. transform: translateY(-50%);
  307. }
  308. body.pen_header_alignment_left #pen_header.pen_has_logo h1 a#site-title,
  309. body.pen_header_alignment_center #pen_header.pen_has_logo h1 a#site-title {
  310. left: 0;
  311. right: auto;
  312. }
  313. body.pen_header_alignment_center #pen_header .pen_header_main {
  314. text-align: center;
  315. }
  316. body.pen_header_alignment_right #pen_header h1 {
  317. float: right;
  318. margin-left: 0;
  319. margin-right: 0;
  320. }
  321. body.pen_header_alignment_center #pen_header h1 {
  322. display: inline-block;
  323. float: none;
  324. margin-left: auto;
  325. margin-right: auto;
  326. }
  327. body.pen_header_alignment_right #pen_header h1 a#site-title {
  328. left: auto;
  329. right: 0;
  330. }
  331. #pen_header.pen_has_logo h1 a#site-title {
  332. padding-left: 145px;
  333. }
  334. body.pen_header_sticky #pen_header.pen_has_logo h1 a#site-title {
  335. transition: padding .3s;
  336. }
  337. body.pen_header_sticky #pen_header.pen_header_sticked.pen_has_logo h1 a#site-title {
  338. padding-left: 84px;
  339. }
  340. body.pen_header_alignment_right #pen_header.pen_has_logo h1 a#site-title {
  341. padding-left: 0;
  342. padding-right: 145px;
  343. }
  344. body.pen_header_sticky #pen_header.pen_header_sticked.pen_has_logo h1 a#site-title {
  345. padding-right: 84px;
  346. }
  347. #pen_header h1 a .site-title,
  348. #pen_header h1 a .site-description {
  349. clear: both;
  350. float: left;
  351. }
  352. #pen_header h1 .custom-logo-link img {
  353. float: left;
  354. margin: 0.5em 0;
  355. }
  356. body.pen_header_alignment_right #pen_header h1 .custom-logo-link img {
  357. float: right;
  358. }
  359. #pen_header .pen_header_wrap {
  360. padding: 1em 0;
  361. position: absolute;
  362. right: 0;
  363. top: 50%;
  364. transform: translateY(-50%);
  365. }
  366. body.pen_header_alignment_right #pen_header .pen_header_wrap {
  367. left: 0;
  368. right: auto;
  369. }
  370. body.pen_header_alignment_center #pen_header h1 {
  371. margin-bottom: 0;
  372. }
  373. body.pen_header_alignment_center #pen_header .pen_header_wrap {
  374. float: left;
  375. padding-top: 0;
  376. position: static;
  377. right: auto;
  378. text-align: center;
  379. top: auto;
  380. transform: none;
  381. width: 100%;
  382. }
  383. #pen_header .pen_phone,
  384. #pen_header .pen_social_networks,
  385. #pen_header .pen_header_main .search-form {
  386. float: left;
  387. position: relative;
  388. }
  389. #pen_header .pen_phone {
  390. margin: 7px 1.5em 0 0;
  391. }
  392. #pen_header .pen_social_networks {
  393. margin: 2px 2em 0 0;
  394. }
  395. #pen_header .pen_header_main .search-form {
  396. line-height: 1;
  397. width: 300px;
  398. }
  399. #pen_header_primary,
  400. #pen_header_secondary {
  401. float: left;
  402. margin: 0 1em 0 0;
  403. }
  404. #pen_header_secondary {
  405. margin: 0 0 0 1em;
  406. }
  407. body.pen_header_alignment_center #pen_header_primary,
  408. body.pen_header_alignment_center #pen_header_secondary,
  409. body.pen_header_alignment_center #pen_header .pen_phone,
  410. body.pen_header_alignment_center #pen_header .pen_header_main .search-form {
  411. margin: 1em 0 0;
  412. width: 100%;
  413. }
  414. body.pen_header_alignment_center #pen_header.pen_phone_hide.pen_connect_hide .pen_header_main .search-form {
  415. margin: 0;
  416. }
  417. body.pen_header_alignment_center #pen_header .pen_phone {
  418. margin-top: 0;
  419. }
  420. body.pen_header_alignment_center #pen_header .pen_header_main .search-form {
  421. display: inline-block;
  422. float: none !important;
  423. width: auto !important;
  424. }
  425. body.pen_header_alignment_center #pen_header .pen_header_main .search-form .search-field {
  426. min-width: 350px;
  427. }
  428. body.pen_header_alignment_center #pen_header .pen_social_networks {
  429. margin: 0 0 1em;
  430. width: 100%;
  431. }
  432. }
  433. @media only screen and (min-width:728px) and (max-width:1024px) {
  434. #pen_header h1 {
  435. font-size: 1.5em;
  436. }
  437. #pen_header .pen_header_wrap {
  438. right: 1em;
  439. }
  440. #pen_header .pen_header_wrap > div {
  441. clear: both;
  442. }
  443. }
  444. @media only screen and (max-width:728px) {
  445. #pen_header{
  446. display:none;
  447. }
  448. #pen_header .pen_header_main {
  449. padding: 1em;
  450. }
  451. #pen_header h1 {
  452. margin: 0;
  453. text-align: center;
  454. white-space: normal;
  455. width: 100%;
  456. }
  457. #pen_header h1 a {
  458. width: 100%;
  459. }
  460. #pen_header h1 img {
  461. float: none;
  462. }
  463. #pen_header h1 a#site-title,
  464. #pen_header h1 a .site-title,
  465. #pen_header h1 a .site-description,
  466. #pen_header .pen_phone,
  467. #pen_header .pen_social_networks,
  468. #pen_header .search-form {
  469. float: left;
  470. text-align: center;
  471. width: 100%;
  472. }
  473. #pen_header h1 a .site-title {
  474. letter-spacing: 0;
  475. }
  476. #pen_header h1 a .site-description {
  477. line-height: 1.5;
  478. margin-bottom: 0 !important;
  479. }
  480. #pen_header .search-form {
  481. margin: 1em 0;
  482. }
  483. #pen_header .pen_phone {
  484. font-size: 2em;
  485. padding: 0.5em 0;
  486. }
  487. #pen_header .pen_social_networks a {
  488. padding: 0.5em;
  489. }
  490. #pen_header .pen_social_networks a:before {
  491. font-size: 2em;
  492. }
  493. }
  494. @media only print {
  495. #pen_header,
  496. #pen_header .pen_header_wrap,
  497. #pen_header_primary,
  498. #pen_header_secondary,
  499. #content article {
  500. position: static !important;
  501. }
  502. #pen_header .pen_header_wrap,
  503. #content article {
  504. float: left;
  505. width: 100%;
  506. }
  507. #pen_header .pen_social_networks,
  508. #pen_header .search-form,
  509. #pen_navigation {
  510. display: none;
  511. }
  512. #content {
  513. min-height: none !important;
  514. }
  515. }