style.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. /*
  2. Theme Name: Twenty Twenty One Child spring2life.
  3. Theme URI: https://example.com
  4. Description: spring2life child theme for Twenty Twenty One.
  5. Author: Markus Spring
  6. Author URI: https://markus-spring.de
  7. Template: twentytwentyone
  8. Version: 1.0
  9. License: GNU General Public License v2 or later
  10. License URI: https://www.gnu.org/licenses/gpl-2.0.html
  11. */
  12. /* ----------------------------------------------------- proxima-nova --- */
  13. @font-face {
  14. font-family: 'proxima_novaregular';
  15. src: url('proximanova-regular-webfont.woff2') format('woff2'),
  16. url('proximanova-regular-webfont.woff') format('woff');
  17. font-weight: normal;
  18. font-style: normal;
  19. }
  20. @font-face {
  21. font-family: 'proxima_novathin';
  22. src: url('proxima_nova_thin-webfont.woff2') format('woff2'),
  23. url('proxima_nova_thin-webfont.woff') format('woff');
  24. font-weight: normal;
  25. font-style: normal;
  26. }
  27. @font-face {
  28. font-family: 'proxima_nova_altlight';
  29. src: url('proxima_nova_alt_light-webfont.woff2') format('woff2'),
  30. url('proxima_nova_alt_light-webfont.woff') format('woff');
  31. font-weight: normal;
  32. font-style: normal;
  33. }
  34. /* raleway-300 - latin */
  35. @font-face {
  36. font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  37. font-family: 'Raleway';
  38. font-style: normal;
  39. font-weight: 300;
  40. src: url('fonts/raleway-v29-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  41. url('fonts/raleway-v29-latin-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  42. }
  43. /* raleway-300italic - latin */
  44. @font-face {
  45. font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  46. font-family: 'Raleway';
  47. font-style: italic;
  48. font-weight: 300;
  49. src: url('fonts/raleway-v29-latin-300italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  50. url('fonts/raleway-v29-latin-300italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  51. }
  52. /* raleway-regular - latin */
  53. @font-face {
  54. font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  55. font-family: 'Raleway';
  56. font-style: normal;
  57. font-weight: 400;
  58. src: url('fonts/raleway-v29-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  59. url('fonts/raleway-v29-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  60. }
  61. /* raleway-italic - latin */
  62. @font-face {
  63. font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  64. font-family: 'Raleway';
  65. font-style: italic;
  66. font-weight: 400;
  67. src: url('fonts/raleway-v29-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  68. url('fonts/raleway-v29-latin-italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  69. }
  70. /* raleway-500 - latin */
  71. @font-face {
  72. font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  73. font-family: 'Raleway';
  74. font-style: normal;
  75. font-weight: 500;
  76. src: url('fonts/raleway-v29-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  77. url('fonts/raleway-v29-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  78. }
  79. /* raleway-700 - latin */
  80. @font-face {
  81. font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  82. font-family: 'Raleway';
  83. font-style: normal;
  84. font-weight: 700;
  85. src: url('fonts/raleway-v29-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  86. url('fonts/raleway-v29-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  87. }
  88. /* raleway-700italic - latin */
  89. @font-face {
  90. font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  91. font-family: 'Raleway';
  92. font-style: italic;
  93. font-weight: 700;
  94. src: url('fonts/raleway-v29-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  95. url('fonts/raleway-v29-latin-700italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  96. }
  97. /* --------------------------------------------------- terminal dosis --- */
  98. @font-face {
  99. font-family: 'Terminal Dosis';
  100. src: url('TerminalDosis-ExtraLight.woff2') format('woff2'),
  101. url('TerminalDosis-ExtraLight.woff') format('woff');
  102. font-weight: 200;
  103. font-style: normal;
  104. font-display: swap;
  105. }
  106. @font-face {
  107. font-family: 'Terminal Dosis';
  108. src: url('TerminalDosis-Bold.woff2') format('woff2'),
  109. url('TerminalDosis-Bold.woff') format('woff');
  110. font-weight: bold;
  111. font-style: normal;
  112. font-display: swap;
  113. }
  114. @font-face {
  115. font-family: 'Terminal Dosis';
  116. src: url('TerminalDosis-SemiBold.woff2') format('woff2'),
  117. url('TerminalDosis-SemiBold.woff') format('woff');
  118. font-weight: 600;
  119. font-style: normal;
  120. font-display: swap;
  121. }
  122. @font-face {
  123. font-family: 'Terminal Dosis';
  124. src: url('TerminalDosis-Light.woff2') format('woff2'),
  125. url('TerminalDosis-Light.woff') format('woff');
  126. font-weight: 300;
  127. font-style: normal;
  128. font-display: swap;
  129. }
  130. @font-face {
  131. font-family: 'Terminal Dosis';
  132. src: url('TerminalDosis-Regular.woff2') format('woff2'),
  133. url('TerminalDosis-Regular.woff') format('woff');
  134. font-weight: normal;
  135. font-style: normal;
  136. font-display: swap;
  137. }
  138. @font-face {
  139. font-family: 'Terminal Dosis';
  140. src: url('TerminalDosis-Medium.woff2') format('woff2'),
  141. url('TerminalDosis-Medium.woff') format('woff');
  142. font-weight: 500;
  143. font-style: normal;
  144. font-display: swap;
  145. }
  146. @font-face {
  147. font-family: 'Terminal Dosis';
  148. src: url('TerminalDosis-ExtraBold.woff2') format('woff2'),
  149. url('TerminalDosis-ExtraBold.woff') format('woff');
  150. font-weight: 800;
  151. font-style: normal;
  152. font-display: swap;
  153. }
  154. /* --------------------------------------------- end font definitions --- */
  155. :root {
  156. /* --max--alignwide-width:1400px; */
  157. /* --font-base:'proxima_novathin','Raleway',sans-serif; */
  158. --font-base:'TerminalDosis-Regular','proxima_novathin','Raleway',sans-serif;
  159. /* --font-base:'Raleway',sans-serif; */
  160. --global--font-size-base:1.125rem;
  161. /* --global--line-height-body:1.6; */
  162. /* --font-headings:'proxima_nova_altlight','Raleway',sans-serif; */
  163. --font-headings:'TerminalDosis-Regular','proxima_nova_altlight','Raleway',sans-serif;
  164. /* --font-headings:'Raleway',sans-serif; */
  165. /* --heading--font-weight:500; */
  166. --heading--font-weight:700;
  167. /* --heading--font-weight:400; */
  168. --heading--font-weight-page-title:500;
  169. --heading--font-weight-strong:500;
  170. /* --heading--font-weight-page-title:700; */
  171. /* --heading--font-weight-strong:700; */
  172. /* --global--font-size-xxl:4rem; */
  173. --global--font-size-xxl:2.8rem;
  174. --global--font-size-xxl:3.7rem;
  175. /* --primary-nav--font-size:1rem; */
  176. /* --primary-nav--font-weight:400; */
  177. --primary-nav--font-weight:500;
  178. /* --primary-nav--font-weight:400; */
  179. /* --button--border-width:1px; */
  180. /* --form--border-width:1px */
  181. --global--font-size-xs: max(calc(var(--global--font-size-base)*1),16px);
  182. }
  183. body {
  184. /* font-weight: 500; */
  185. font-weight: 400;
  186. }
  187. /* @media only screen and (max-width: 651px) :root { */
  188. /* --global--font-size-page-title: min(1.5rem,var(--global--font-size-xxl)); */
  189. /* --global--font-size-page-title: 0.5rem; */
  190. /* } */
  191. .singular .entry-title, .comment-reply-title {
  192. /* font-size: calc( var(--global--font-size-page-title) / 3.5 ); */
  193. }
  194. .archive .content-area .format-aside .entry-content, .archive .content-area .format-link .entry-content, .archive .content-area .format-status .entry-content, .blog .content-area .format-aside .entry-content, .blog .content-area .format-link .entry-content, .blog .content-area .format-status .entry-content, .search .content-area .format-aside .entry-content, .search .content-area .format-link .entry-content, .search .content-area .format-status .entry-content {
  195. font-size: calc( var(--global--font-size-lg) / 1.3 );
  196. }
  197. #masthead.site-header, .menu-button-container {
  198. padding-top: calc(var(--global--spacing-vertical)*.2);
  199. padding-bottom: calc(var(--global--spacing-vertical)*.2);
  200. }
  201. .menu-button-container #primary-mobile-menu {
  202. margin-top: -18px;
  203. }
  204. #submit.submit {
  205. color: black;
  206. background-color: transparent;
  207. border-color: grey;
  208. }
  209. .site-title a {
  210. /* font-weight: 500; */
  211. font-weight: 400;
  212. }
  213. /* .linktable a:link { */
  214. /* text-decoration: none; */
  215. /* } */
  216. .linktable .item-title:before {
  217. content:": :";
  218. /* white-space: pre; */
  219. }
  220. a:link {
  221. text-decoration-color: #888 !important;
  222. }
  223. a:hover {
  224. text-decoration: none !important;
  225. color: red !important;
  226. /* font-weight: bold; */
  227. /* text-decoration-color: red !important; */
  228. }
  229. /* a:hover:after { */
  230. /* content:"-->"; */
  231. /* color: red; */
  232. /* } */
  233. a:visited {
  234. text-decoration-color: #bbb !important;
  235. }
  236. /* ----------------------------------------------------------- iPad 2 --- */
  237. @media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
  238. /* Landscape css rules */
  239. #primary {
  240. margin: 0 2em !important;
  241. }
  242. .site-branding {
  243. margin-left: 2em;
  244. }
  245. }
  246. @media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
  247. /* Portrait css rules */
  248. #primary {
  249. margin: 0 2em !important;
  250. }
  251. .site-branding {
  252. margin-left: 2em;
  253. }
  254. }
  255. /* ------------------------------------------------------- end iPad 2 --- */
  256. .sub-menu-toggle {
  257. display: none !important;
  258. }
  259. .box {
  260. display: flex;
  261. width: 268px;
  262. }
  263. @media all and (min-width: 1150px) {
  264. /* h1.entry-title, h2.entry-title { */
  265. /* display: inline-block; */
  266. /* float: left; */
  267. /* margin-left: calc(50% - var(--responsive--alignwide-width)/2) !important; */
  268. /* } */
  269. }
  270. #content { margin-top: 2rem;
  271. padding-top: 0;
  272. }
  273. .entry-header {
  274. margin-bottom: 0 !important;
  275. }
  276. h1.entry-title, h2.entry-title, h2.comments-title, h2.comment-reply-title {
  277. /* font-size: calc(var(--archive-heading-size,var(--heading--font-size-h2))/1.5) !important; */
  278. font-size: calc(var(--archive-heading-size,var(--heading--font-size-h2))/1) !important;
  279. /* margin-top: -3px !important; */
  280. }
  281. h2.comment-reply-title {
  282. font-size: calc(var(--archive-heading-size,var(--heading--font-size-h2))/2) !important;
  283. }
  284. .h4, h4 {
  285. font-size: calc(var(--heading--font-size-h4)/1.2);
  286. }
  287. .wp-block-jetpack-tiled-gallery {
  288. padding-top: 30px;
  289. }
  290. .site-name, .powered-by {
  291. display: none;
  292. }
  293. .wpcf7-submit {
  294. background: white !important;
  295. color: black !important;
  296. }
  297. /* todo: https://www.cssscript.com/pure-css-expanding-link-underlines/ */
  298. .entry-footer {
  299. margin-top: calc(var(--global--spacing-vertical)*1.4) !important;
  300. }
  301. img[class^="wp-image-"] {
  302. padding: 4px;
  303. background: white;
  304. border: 1px solid #999;
  305. }
  306. /* --------------------------------------------------------- archives --- */
  307. .archive-wider {
  308. max-width: calc(var(--responsive--aligndefault-width)*1.5);
  309. }
  310. .blocks-gallery-grid {
  311. /* max-width: auto ; */
  312. max-width: calc(var(--responsive--aligndefault-width)*1.5) !important;
  313. }
  314. .archive-slide {
  315. width: 210px;
  316. height: 210px;
  317. margin: 7px;
  318. border: solid 1px #a5a5a5;
  319. border-radius: 8px;
  320. -moz-border-radius: 8px;
  321. -webkit-border-radius: 8px;
  322. filter: alpha(opacity=85);
  323. -moz-opacity: 0.85;
  324. opacity: 0.85;
  325. float: left;
  326. position: relative;
  327. padding: 40px;
  328. }
  329. .archive-slide-slide {
  330. border: solid 1px #000000;
  331. }
  332. .archive-slide-titlebar a span {
  333. display: block;
  334. height: 40px;
  335. width: 128px;
  336. overflow: hidden;
  337. font-size: calc(var(--global--font-size-xs) * 0.7);
  338. text-align: center;
  339. padding-left: -20px;
  340. padding-right: -20px;
  341. }
  342. /* .pagination:pre { */
  343. /* content:"<br style='clear: all; clear:both;'>"; */
  344. /* } */
  345. /* .single .site-main > article > .entry-footer { */
  346. .entry-footer {
  347. display: grid;
  348. grid-template-columns: 2fr 4fr;
  349. }
  350. .comments-title {
  351. /* padding-top: 0 !important; */
  352. }
  353. #comment {
  354. color: black;
  355. opacity: revert;
  356. font-family: 'proxima_novaregular' !important;
  357. font-size: 18px;
  358. /* background-blend-mode: unset; */
  359. background-color: transparent;
  360. }
  361. #comment:focus, #comment:hover {
  362. background-color:white !important;
  363. }
  364. /* remove wp mail smtp nags */
  365. div#setting-error-tgmpa, #update-nag, .update-nag, .updated.caldera_forms, wp-admin-bar-wp-mail-smtp-menu {
  366. display: none;
  367. }