style.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
  1. /*
  2. Theme Name: HPCP
  3. Theme URI: https://hospicepiedmont.org/
  4. Author: @windhamdavid
  5. Author URI: https://davidwindham.com
  6. Description: something else
  7. Version: 1.0.0
  8. License: GNU General Public License v3
  9. Text Domain: hp
  10. Requires at least: 4.7
  11. Requires PHP: 7.2
  12. Tested up to: 5.6.1
  13. Tags:
  14. */
  15. /* ######## credits: ########
  16. https://github.com/twbs/bootstrap
  17. https://github.com/necolas/normalize.css/
  18. https://github.com/Automattic/_s
  19. */
  20. /*--------------------------------------------------------------
  21. ########################## Typography ##########################
  22. --------------------------------------------------------------*/
  23. @import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&display=swap');
  24. h1, h2, h3, h4, h5, h6 {
  25. clear: both;
  26. color: #24292e;
  27. font-weight: 600;
  28. margin-top: 24px;
  29. margin-bottom: 15px;
  30. font-family: 'Lato', sans-serif;
  31. }
  32. h1 {
  33. font-size: 31px;
  34. padding-bottom: 10px;
  35. }
  36. h2 {
  37. font-size: 21px;
  38. padding-bottom: 0.3em;
  39. line-height: 1.25;
  40. }
  41. h3 {
  42. font-size: 18px;
  43. line-height: 25px;
  44. }
  45. h4 {
  46. font-size: 16px;
  47. line-height: 20px;
  48. }
  49. h5 {
  50. font-size: 14px;
  51. line-height: 17.5px;
  52. }
  53. p {
  54. margin-bottom: 1.5em;
  55. }
  56. h1.entry-title {
  57. font-size: 31px;
  58. font-family: 'Lato', sans-serif;
  59. border-bottom: 1px solid #eaecef;
  60. }
  61. h2.entry-title {
  62. font-size: 21px;
  63. font-family: 'Lato', sans-serif;
  64. border-bottom: 1px solid #eaecef;
  65. }
  66. h3.widget-title {
  67. font-family: 'Lato', sans-serif;
  68. font-weight:300;
  69. font-size: 18px;
  70. color:#d7d7d7;
  71. }
  72. h1.lato-widget {
  73. font-family: 'Lato', sans-serif;
  74. font-weight:300;
  75. margin-top:0px;
  76. font-size: 27px;
  77. color:#d7d7d7;
  78. }
  79. .notlight {
  80. color:#d7d7d7;
  81. }
  82. /*--------------------------------------------------------------
  83. ########################## Elements ##########################
  84. --------------------------------------------------------------*/
  85. body {
  86. background: rgba(0, 0, 0, 0.05);
  87. }
  88. img {
  89. height: auto;
  90. /* Make sure images are scaled correctly. */
  91. max-width: 100%;
  92. /* Adhere to container width. */
  93. }
  94. figure {
  95. margin: 1em 0;
  96. /* Extra wide images within figure tags don't overflow the content area. */
  97. }
  98. table {
  99. margin: 0 0 1.5em;
  100. width: 100%;
  101. }
  102. .wrapper {
  103. display: flex;
  104. width: 100%;
  105. }
  106. #sidebar {
  107. width: 250px;
  108. position: fixed;
  109. top: 0;
  110. left: 0;
  111. height: 100vh;
  112. z-index: 999;
  113. background: #7386D5;
  114. color: #fff;
  115. transition: all 0.3s;
  116. }
  117. /*--------------------------------------------------------------
  118. ########################## Navigation ##########################
  119. --------------------------------------------------------------*/
  120. header#masthead {
  121. margin-bottom: 0;
  122. box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
  123. padding: .74rem 1rem;
  124. background-color:rgba(56, 94, 113, 1);
  125. }
  126. .navbar-brand > a {
  127. font-family: 'Lato', sans-serif;
  128. color: rgba(0, 0, 0, 0.9);
  129. font-size: 21px;
  130. outline: medium none;
  131. text-decoration: none;
  132. color: #fff;
  133. font-weight: 300;
  134. }
  135. .navbar-brand > a:visited, .navbar-brand > a:hover {
  136. text-decoration: none;
  137. }
  138. .dropdown-item.active, .dropdown-item:active {
  139. color:#777;
  140. }
  141. #page-sub-header {
  142. position: relative;
  143. padding-top: 5rem;
  144. padding-bottom: 0;
  145. text-align: center;
  146. font-size: 1.25rem;
  147. background-size: cover !important;
  148. }
  149. body #page-sub-header h1 {
  150. line-height: 1.6;
  151. font-size: 4rem;
  152. color: #563e7c;
  153. margin: 0 0 1rem;
  154. border: 0;
  155. padding: 0;
  156. }
  157. #page-sub-header p {
  158. margin-bottom: 0;
  159. line-height: 1.4;
  160. font-size: 1.25rem;
  161. font-weight: 300;
  162. }
  163. body #page-sub-header p {
  164. color: #212529;
  165. }
  166. a.page-scroller {
  167. color: #333;
  168. font-size: 2.6rem;
  169. display: inline-block;
  170. margin-top: 2rem;
  171. }
  172. @media screen and (min-width: 768px) {
  173. body #page-sub-header h1 {
  174. font-size: 3.750rem;
  175. }
  176. body #page-sub-header {
  177. font-size: 1.25rem;
  178. }
  179. }
  180. @media screen and (min-width: 992px) {
  181. #page-sub-header p {
  182. max-width: 43rem;
  183. margin: 0 auto;
  184. }
  185. }
  186. /*--------------------------------------------------------------
  187. ########################## Links ##########################
  188. --------------------------------------------------------------*/
  189. a {
  190. color:#375c6f;
  191. }
  192. a.dropdown-toggle, a.nav-link {
  193. }
  194. a.page-numbers {
  195. display: inline-block;
  196. color:#777;
  197. padding:5px 10px;
  198. border: 1px solid #999;
  199. border-radius: 5px;
  200. text-decoration: none;
  201. }
  202. span.current {
  203. display: inline-block;
  204. color:#444;
  205. padding:5px 10px;
  206. border: 1px solid #ddd;
  207. border-radius: 5px;
  208. background: #eee;
  209. }
  210. a.page-numbers:hover {
  211. background: #eee;
  212. }
  213. .post-navigation .nav-previous a, .post-navigation .nav-next a {
  214. color:#777;
  215. border: 1px solid #ddd;
  216. border-radius: 5px;
  217. display: inline-block;
  218. padding:5px 10px;
  219. text-decoration: none;
  220. }
  221. .entry-meta {
  222. color:#777;
  223. }
  224. /*--------------------------------------------------------------
  225. ########################## Menus ##########################
  226. --------------------------------------------------------------*/
  227. #masthead nav {
  228. padding-left: 0;
  229. padding-right: 0;
  230. }
  231. body #masthead .navbar-nav > li > a {
  232. padding: 0.5rem;
  233. font-weight: 500;
  234. font-size: 0.875rem;
  235. }
  236. body #masthead .navbar-nav > li > a:hover,
  237. body #masthead .navbar-nav > li.current_page_item > a {
  238. color: #fff;
  239. /*background: #f9f9f9;*/
  240. }
  241. .navbar-brand {
  242. height: auto;
  243. }
  244. .navbar-toggle .icon-bar {
  245. background: #000 none repeat scroll 0 0;
  246. }
  247. .dropdown-menu .dropdown-toggle::after {
  248. border-bottom: 0.3em solid transparent;
  249. border-left: 0.3em solid;
  250. border-top: 0.3em solid transparent;
  251. }
  252. .dropdown.menu-item-has-children .dropdown.menu-item-has-children {
  253. position: relative;
  254. }
  255. .dropdown.menu-item-has-children .dropdown.menu-item-has-children>.dropdown-menu {
  256. top: 0;
  257. left: 100%;
  258. margin-top: -6px;
  259. margin-left: -1px;
  260. -webkit-border-radius: 0 6px 6px 6px;
  261. -moz-border-radius: 0 6px 6px;
  262. border-radius: 0 6px 6px 6px;
  263. }
  264. .dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover>.dropdown-menu {
  265. display: block;
  266. }
  267. .dropdown.menu-item-has-children .dropdown.menu-item-has-children>a:after {
  268. display: block;
  269. content: " ";
  270. float: right;
  271. width: 0;
  272. height: 0;
  273. border-color: transparent;
  274. border-style: solid;
  275. border-width: 5px 0 5px 5px;
  276. border-left-color: #ccc;
  277. margin-top: 5px;
  278. margin-right: -10px;
  279. }
  280. .dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover>a:after {
  281. border-left-color: #fff;
  282. }
  283. .dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left {
  284. float: none;
  285. }
  286. .dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left>.dropdown-menu {
  287. left: -100%;
  288. margin-left: 10px;
  289. -webkit-border-radius: 6px 0 6px 6px;
  290. -moz-border-radius: 6px 0 6px 6px;
  291. border-radius: 6px 0 6px 6px;
  292. }
  293. /* Small menu. */
  294. .menu-toggle,
  295. .main-navigation.toggled ul {
  296. display: block;
  297. }
  298. .dropdown-item {
  299. line-height: 1.2;
  300. padding-bottom: 0.313rem;
  301. padding-top: 0.313rem;
  302. }
  303. .dropdown-menu {
  304. min-width: 12.500rem;
  305. }
  306. .dropdown .open .dropdown-menu {
  307. display: block;
  308. left: 12.250em;
  309. top: 0;
  310. }
  311. .dropdown-menu .dropdown-item {
  312. white-space: normal;
  313. background: transparent;
  314. line-height: 1.6;
  315. }
  316. .dropdown-menu .dropdown-item:hover {
  317. background: transparent;
  318. }
  319. @media screen and (min-width: 37.5em) {
  320. .menu-toggle {
  321. display: none;
  322. }
  323. }
  324. @media screen and (min-width: 769px) {
  325. .dropdown-menu li > .dropdown-menu {
  326. right: -9.875rem;
  327. top: 1.375rem;
  328. }
  329. }
  330. @media screen and (max-width: 991px) {
  331. .navbar-nav .dropdown-menu {
  332. border: medium none;
  333. margin-left: 1.250rem;
  334. padding: 0;
  335. }
  336. .dropdown-menu li a {
  337. padding: 0;
  338. }
  339. #masthead .navbar-nav > li > a {
  340. padding-bottom: 0.625rem;
  341. padding-top: 0.313rem;
  342. }
  343. .navbar-light .navbar-toggler {
  344. border: medium none;
  345. outline: none;
  346. }
  347. }
  348. .site-main .comment-navigation,
  349. .site-main .posts-navigation,
  350. .site-main .post-navigation {
  351. margin: 0 0 1.5em;
  352. overflow: hidden;
  353. }
  354. .comment-navigation .nav-previous,
  355. .posts-navigation .nav-previous,
  356. .post-navigation .nav-previous {
  357. float: left;
  358. width: 50%;
  359. }
  360. .comment-navigation .nav-next,
  361. .posts-navigation .nav-next,
  362. .post-navigation .nav-next {
  363. float: right;
  364. text-align: right;
  365. width: 50%;
  366. }
  367. .comment-content.card-block {
  368. padding: 20px;
  369. }
  370. .navigation.post-navigation {
  371. padding-top: 1.875rem;
  372. }
  373. .post-navigation .nav-next a::after {
  374. content: " \2192";
  375. }
  376. .post-navigation .nav-previous a::before {
  377. content: "\2190 ";
  378. }
  379. .post-navigation .nav-previous a:hover,
  380. .post-navigation .nav-next a:hover {
  381. background: #eee none repeat scroll 0 0;
  382. }
  383. /*--------------------------------------------------------------
  384. ########################## Accessibility ##########################
  385. --------------------------------------------------------------*/
  386. /* Text meant only for screen readers. */
  387. .screen-reader-text {
  388. clip: rect(1px, 1px, 1px, 1px);
  389. position: absolute !important;
  390. height: 1px;
  391. width: 1px;
  392. overflow: hidden;
  393. word-wrap: normal !important;
  394. /* Many screen reader and browser combinations announce broken words as they would appear visually. */
  395. }
  396. .screen-reader-text:focus {
  397. background-color: #f1f1f1;
  398. border-radius: 3px;
  399. box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  400. clip: auto !important;
  401. color: #21759b;
  402. display: block;
  403. font-size: 14px;
  404. font-size: 0.875rem;
  405. font-weight: bold;
  406. height: auto;
  407. left: 0.313rem;
  408. line-height: normal;
  409. padding: 0.938rem 1.438rem 0.875rem;
  410. text-decoration: none;
  411. top: 0.313rem;
  412. width: auto;
  413. z-index: 100000;
  414. /* Above WP toolbar. */
  415. }
  416. /* Do not show the outline on the skip link target. */
  417. #content[tabindex="-1"]:focus {
  418. outline: 0;
  419. }
  420. /*--------------------------------------------------------------
  421. ########################## Alignments ##########################
  422. --------------------------------------------------------------*/
  423. .alignleft {
  424. display: inline;
  425. float: left;
  426. margin-right: 1.5em;
  427. }
  428. .alignright {
  429. display: inline;
  430. float: right;
  431. margin-left: 1.5em;
  432. }
  433. .aligncenter {
  434. clear: both;
  435. display: block;
  436. margin-left: auto;
  437. margin-right: auto;
  438. }
  439. a img.alignright {
  440. float: right;
  441. margin: 0.313rem 0 1.25rem 1.25rem;
  442. }
  443. a img.alignnone {
  444. margin: 0.313rem 1.25rem 1.25rem 0;
  445. }
  446. a img.alignleft {
  447. float: left;
  448. margin: 0.313rem 1.25rem 1.25rem 0;
  449. }
  450. a img.aligncenter {
  451. display: block;
  452. margin-left: auto;
  453. margin-right: auto;
  454. }
  455. .wp-caption.alignnone {
  456. margin: 0.313rem 1.25rem 1.25rem 0;
  457. }
  458. .wp-caption.alignleft {
  459. margin: 0.313rem 1.25rem 1.25rem 0;
  460. }
  461. .wp-caption.alignright {
  462. margin: 0.313rem 0 1.25rem 1.25rem;
  463. }
  464. /*--------------------------------------------------------------
  465. ########################## Clear ##########################
  466. --------------------------------------------------------------*/
  467. .clear:before,
  468. .clear:after,
  469. .entry-content:before,
  470. .entry-content:after,
  471. .comment-content:before,
  472. .comment-content:after,
  473. .site-header:before,
  474. .site-header:after,
  475. .site-content:before,
  476. .site-content:after,
  477. .site-footer:before,
  478. .site-footer:after {
  479. content: "";
  480. display: table;
  481. table-layout: fixed;
  482. }
  483. .clear:after,
  484. .entry-content:after,
  485. .comment-content:after,
  486. .site-header:after,
  487. .site-content:after,
  488. .site-footer:after {
  489. clear: both;
  490. }
  491. /*--------------------------------------------------------------
  492. ########################## Widgets ##########################
  493. --------------------------------------------------------------*/
  494. .widget {
  495. margin: 0 0 1.5em;
  496. font-size: 0.875rem;
  497. }
  498. .widget select {
  499. max-width: 100%;
  500. }
  501. .widget_search .search-form input[type="submit"] {
  502. display: none;
  503. }
  504. .nav > li > a:focus,
  505. .nav > li > a:hover {
  506. background-color: #eee;
  507. text-decoration: none;
  508. }
  509. .half-rule {
  510. width: 6rem;
  511. margin: 2.5rem 0;
  512. }
  513. .widget_categories .nav-link {
  514. display: inline-block;
  515. }
  516. .mc4wp-form-basic label {
  517. font-weight:300;
  518. }
  519. .mc4wp-form-basic input {
  520. background: rgba(0, 0, 0, 0.2);
  521. color:#fff;
  522. }
  523. form.mc input.form-control {
  524. background-color: rgba(255, 255, 255, 0.05);
  525. }
  526. form.mc ::placeholder {
  527. color:#d7d7d7;
  528. }
  529. .textwidget {
  530. color:#d7d7d7;
  531. }
  532. /*--------------------------------------------------------------
  533. ########################## Content ##########################
  534. --------------------------------------------------------------*/
  535. #content.site-content {
  536. padding-bottom: 3.75rem;
  537. padding-top: 4.125rem;
  538. }
  539. .sticky .entry-title::before {
  540. content: '\f08d';
  541. font-family: "Font Awesome\ 5 Free";
  542. font-size: 1.563rem;
  543. left: -2.5rem;
  544. position: absolute;
  545. top: 0.375rem;
  546. font-weight: 900;
  547. }
  548. .sticky .entry-title {
  549. position: relative;
  550. }
  551. .single .byline,
  552. .group-blog .byline {
  553. display: inline;
  554. }
  555. .page-content,
  556. .entry-content,
  557. .entry-summary {
  558. margin: 1.5em 0 0;
  559. }
  560. .page-links {
  561. clear: both;
  562. margin: 0 0 1.5em;
  563. }
  564. .page-template-blank-page .entry-content,
  565. .blank-page-with-container .entry-content {
  566. margin-top: 0;
  567. }
  568. .post.hentry {
  569. margin-bottom: 4rem;
  570. }
  571. .posted-on, .byline, .comments-link {
  572. color: #9a9a9a;
  573. }
  574. .entry-title > a {
  575. color: inherit;
  576. }
  577. /*--------------------------------------------------------------
  578. ########################## Comments ##########################
  579. --------------------------------------------------------------*/
  580. .comment-content a {
  581. word-wrap: break-word;
  582. }
  583. .bypostauthor {
  584. display: block;
  585. }
  586. .comment-body .pull-left {
  587. padding-right: 0.625rem;
  588. }
  589. .comment-list .comment {
  590. display: block;
  591. }
  592. .comment-list {
  593. padding-left: 0;
  594. }
  595. .comments-title {
  596. font-size: 1.125rem;
  597. }
  598. .comment-list .pingback {
  599. border-top: 1px solid rgba(0, 0, 0, 0.125);
  600. padding: 0.563rem 0;
  601. }
  602. .comment-list .pingback:first-child {
  603. border: medium none;
  604. }
  605. /*--------------------------------------------------------------
  606. ########################## Media ##########################
  607. --------------------------------------------------------------*/
  608. .page-content .wp-smiley,
  609. .entry-content .wp-smiley,
  610. .comment-content .wp-smiley {
  611. border: none;
  612. margin-bottom: 0;
  613. margin-top: 0;
  614. padding: 0;
  615. }
  616. /* Make sure embeds and iframes fit their containers. */
  617. embed,
  618. iframe,
  619. object {
  620. max-width: 100%;
  621. }
  622. /*--------------------------------------------------------------
  623. ########################## Captions ##########################
  624. --------------------------------------------------------------*/
  625. .wp-caption {
  626. background: #f1f1f1 none repeat scroll 0 0;
  627. border: 1px solid #f0f0f0;
  628. max-width: 96%;
  629. padding: 0.313rem 0.313rem 0;
  630. text-align: center;
  631. }
  632. .wp-caption img[class*="wp-image-"] {
  633. border: 0 none;
  634. height: auto;
  635. margin: 0;
  636. max-width: 100%;
  637. padding: 0;
  638. width: auto;
  639. }
  640. .wp-caption .wp-caption-text {
  641. font-size: 0.688rem;
  642. line-height: 1.063rem;
  643. margin: 0;
  644. padding: 0.625rem;
  645. }
  646. .wp-caption-text {
  647. text-align: center;
  648. }
  649. /*--------------------------------------------------------------
  650. ########################## Galleries ##########################
  651. --------------------------------------------------------------*/
  652. .gallery {
  653. margin-bottom: 1.5em;
  654. }
  655. .gallery-item {
  656. display: inline-block;
  657. text-align: center;
  658. vertical-align: top;
  659. width: 100%;
  660. }
  661. .gallery-item .gallery-columns-2 {
  662. max-width: 50%;
  663. }
  664. .gallery-item .gallery-columns-3 {
  665. max-width: 33.33333%;
  666. }
  667. .gallery-item .gallery-columns-4 {
  668. max-width: 25%;
  669. }
  670. .gallery-item .gallery-columns-5 {
  671. max-width: 20%;
  672. }
  673. .gallery-item .gallery-columns-6 {
  674. max-width: 16.66667%;
  675. }
  676. .gallery-item .gallery-columns-7 {
  677. max-width: 14.28571%;
  678. }
  679. .gallery-item .gallery-columns-8 {
  680. max-width: 12.5%;
  681. }
  682. .gallery-item .gallery-columns-9 {
  683. max-width: 11.11111%;
  684. }
  685. .gallery-caption {
  686. display: block;
  687. }
  688. /*--------------------------------------------------------------
  689. ########################## Footer ##########################
  690. --------------------------------------------------------------*/
  691. .footer {
  692. background-color:#325363;
  693. }
  694. footer#colophon {
  695. font-size: 85%;
  696. background-color:#1F333D;
  697. }
  698. .navbar-dark .site-info {
  699. color: #fff;
  700. }
  701. .copyright {
  702. font-size: 0.875rem;
  703. margin-bottom: 0;
  704. text-align: center;
  705. }
  706. .copyright a, footer#colophon a {
  707. color: inherit;
  708. }
  709. @media screen and (max-width: 767px) {
  710. #masthead .navbar-nav > li > a {
  711. padding-bottom: 0.938rem;
  712. padding-top: 0.938rem;
  713. }
  714. }
  715. /*--------------------------------------------------------------
  716. ###################### Media Queries ##########################
  717. --------------------------------------------------------------*/
  718. @media only screen and (max-width: 1280px) {
  719. html {
  720. font-size: 95%;
  721. }
  722. }
  723. @media screen and (max-width: 1199px) {
  724. .navbar-dark .dropdown-item {
  725. color: #fff;
  726. }
  727. .navbar-nav .dropdown-menu {
  728. background: transparent;
  729. box-shadow: none;
  730. border: none;
  731. }
  732. }
  733. @media only screen and (max-width: 1024px) {
  734. html {
  735. font-size: 90%;
  736. }
  737. }
  738. @media only screen and (max-width: 960px) {
  739. html {
  740. font-size: 85%;
  741. }
  742. }
  743. @media only screen and (max-width: 768px) {
  744. html {
  745. font-size: 80%;
  746. }
  747. }
  748. @media only screen and (max-width: 480px) {
  749. html {
  750. font-size: 75%;
  751. }
  752. }