style.js 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. import styled from 'styled-components';
  2. export const ArchivesWrapper = styled.div`
  3. .pattern-center-blank{
  4. padding-top: 75px;
  5. background-color: #fff;
  6. }
  7. @media(max-width:768px){
  8. .pattern-center-blank{
  9. padding-top: 50px;
  10. }
  11. }
  12. `;
  13. export const ArticleTop = styled.div`
  14. position: relative;
  15. top: 0;
  16. left: 0;
  17. width: 100%;
  18. overflow: hidden;
  19. &:before{
  20. content: "";
  21. position: absolute;
  22. top: 0;
  23. bottom: 0;
  24. left: 0;
  25. right: 0;
  26. background-color: rgba(0,0,0,.3);
  27. }
  28. &:after{
  29. content: '';
  30. width: 150%;
  31. height: 4.375rem;
  32. background: #fff;
  33. left: -25%;
  34. bottom: -2.875rem;
  35. border-radius: 100%;
  36. position: absolute;
  37. }
  38. .pattern-attachment-img{
  39. background-repeat: no-repeat;
  40. background-size: cover;
  41. background-position: center center;
  42. background-origin: border-box;
  43. width: 100%;
  44. height: 400px;
  45. img{
  46. width: 100%;
  47. height: 100%;
  48. object-fit: cover;
  49. pointer-events: none;
  50. }
  51. }
  52. .pattern-header {
  53. position: absolute;
  54. top: 45%;
  55. left: 0;
  56. right: 0;
  57. text-align: center;
  58. color: #fff;
  59. z-index: 1;
  60. h1{
  61. color: #fff;
  62. font-size: 40px;
  63. font-weight: 500;
  64. width: 80%;
  65. margin: auto;
  66. padding: 0;
  67. border: 0;
  68. }
  69. }
  70. @media(max-width:768px){
  71. .pattern-attachment-img{
  72. height:280px;
  73. }
  74. .pattern-header {
  75. top:40%;
  76. h1{
  77. font-size:24px;
  78. }
  79. }
  80. }
  81. `;
  82. export const MainWrapper = styled.div`
  83. min-height:600px;
  84. max-width: 900px;
  85. padding: 0 10px;
  86. margin-left: auto;
  87. margin-right: auto;
  88. padding-top:50px;
  89. background-color: rgba(255,255,255,.8);
  90. .example{
  91. height:52px;
  92. line-height:52px;
  93. text-align: center;
  94. i{
  95. background-color: #FE9600;
  96. }
  97. }
  98. .wrapper-md{
  99. padding: 20px;
  100. max-width: 600px;
  101. margin: 0 auto;
  102. }
  103. .timeline {
  104. padding: 0;
  105. margin: 0;
  106. }
  107. .tl-header {
  108. display: block;
  109. width: 8em;
  110. margin-right: 2px;
  111. margin-left: 2px;
  112. text-align: center;
  113. h2{
  114. color: #ffffff;
  115. border-radius: 50px;
  116. font-weight: 500;
  117. display: inline-block;
  118. padding: 5px 15px;
  119. font-size: 12px;
  120. line-height: 1.5;
  121. border: 1px solid transparent;
  122. }
  123. }
  124. .tl-item {
  125. display: block;
  126. }
  127. .tl-item:after, .tl-item:before {
  128. display: table;
  129. content: " ";
  130. }
  131. .tl-item:after {
  132. clear: both;
  133. }
  134. .tl-wrap {
  135. display: block;
  136. padding: 15px 0 15px 20px;
  137. margin-left: 4em;
  138. border-color: #dee5e7;
  139. border-style: solid;
  140. border-width: 0 0 0 4px;
  141. }
  142. .tl-wrap:after, .tl-wrap:before {
  143. display: table;
  144. content: " ";
  145. }
  146. .tl-wrap:after {
  147. clear: both;
  148. }
  149. .tl-wrap:before {
  150. position: relative;
  151. top: 15px;
  152. float: left;
  153. width: 10px;
  154. height: 10px;
  155. margin-left: -27px;
  156. background: #edf1f2;
  157. border-color: inherit;
  158. border-style: solid;
  159. border-width: 3px;
  160. border-radius: 50%;
  161. content: "";
  162. box-shadow: 0 0 0 4px #f0f3f4;
  163. }
  164. .tl-date {
  165. position: relative;
  166. top: 10px;
  167. display: block;
  168. float: left;
  169. width: 4.5em;
  170. margin-left: -7.5em;
  171. text-align: right;
  172. font-size: 14px;
  173. }
  174. .tl-content {
  175. position: relative;
  176. display: inline-block;
  177. padding-top: 10px;
  178. padding-bottom: 10px;
  179. border: 1px solid transparent;
  180. border-radius: 4px;
  181. -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
  182. box-shadow: 0 1px 1px rgba(0,0,0,.05);
  183. padding-right: 15px;
  184. padding-left: 15px;
  185. a{
  186. color: #ffffff;
  187. font-size: 14px;
  188. }
  189. }
  190. .arrow {
  191. z-index: 10;
  192. border-width: 9px;
  193. left: -9px;
  194. margin-top: -9px;
  195. border-right-color: rgba(255,255,255,.1);
  196. border-left-width: 0;
  197. top: 19px;
  198. }
  199. .arrow:after {
  200. border-width: 8px;
  201. content: "";
  202. }
  203. .arrow, .arrow:after {
  204. position: absolute;
  205. display: block;
  206. width: 0;
  207. height: 0;
  208. border-color: transparent;
  209. border-style: solid;
  210. }
  211. .arrow.left:after {
  212. bottom: -8px;
  213. left: 1px;
  214. border-right-color: #fff;
  215. border-left-width: 0;
  216. }
  217. .start{
  218. border-radius: 50px;
  219. color: #58666e;
  220. background-color: #fff;
  221. border-color: #dee5e7;
  222. box-shadow: 0 1px 1px rgba(90,90,90,.1);
  223. font-weight: 500;
  224. padding: 5px 15px;
  225. font-size: 12px;
  226. display: inline-block;
  227. text-align: center;
  228. cursor: url(${require('../../statics/images/ayuda.cur')}),auto;
  229. border: 1px solid transparent;
  230. }
  231. .info .title {
  232. background-color: #23b7e5;
  233. border-color: #23b7e5;
  234. }
  235. .info .tl-wrap{
  236. border-color: #23b7e5;
  237. }
  238. .info .tl-content{
  239. background-color: #23b7e5;
  240. }
  241. .info .arrow:after {
  242. border-right-color: #23b7e5;
  243. }
  244. .dark .title {
  245. background-color: #3a3f51;
  246. border-color: #3a3f51;
  247. }
  248. .dark .tl-wrap{
  249. border-color: #3a3f51;
  250. }
  251. .dark .tl-content{
  252. background-color: #3a3f51;
  253. }
  254. .dark .arrow:after {
  255. border-right-color: #3a3f51;
  256. }
  257. .success .title {
  258. background-color: #27c24c;
  259. border-color: #27c24c;
  260. }
  261. .success .tl-wrap{
  262. border-color: #27c24c;
  263. }
  264. .success .tl-content{
  265. background-color: #27c24c;
  266. }
  267. .success .arrow:after {
  268. border-right-color: #27c24c;
  269. }
  270. .black .title {
  271. background-color: #1c2b36;
  272. border-color: #1c2b36;
  273. }
  274. .black .tl-wrap{
  275. border-color: #1c2b36;
  276. }
  277. .black .tl-content{
  278. background-color: #1c2b36;
  279. }
  280. .black .arrow:after {
  281. border-right-color: #1c2b36;
  282. }
  283. .warning .title {
  284. background-color: #fad733;
  285. border-color: #fad733;
  286. }
  287. .warning .tl-wrap{
  288. border-color: #fad733;
  289. }
  290. .warning .tl-content{
  291. background-color: #fad733;
  292. }
  293. .warning .arrow:after {
  294. border-right-color: #fad733;
  295. }
  296. .primary .title {
  297. background-color: #7266ba;
  298. border-color: #7266ba;
  299. }
  300. .primary .tl-wrap{
  301. border-color: #7266ba;
  302. }
  303. .primary .tl-content{
  304. background-color: #7266ba;
  305. }
  306. .primary .arrow:after {
  307. border-right-color: #7266ba;
  308. }
  309. .danger .title {
  310. background-color: #f05050;
  311. border-color: #f05050;
  312. }
  313. .danger .tl-wrap{
  314. border-color: #f05050;
  315. }
  316. .danger .tl-content{
  317. background-color: #f05050;
  318. }
  319. .danger .arrow:after {
  320. border-right-color: #f05050;
  321. }
  322. @media(max-width:768px){
  323. padding-top:30px;
  324. min-height:400px;
  325. .page-header{
  326. margin-bottom: 30px;
  327. h1{
  328. font-size: 16px;
  329. font-weight: 400;
  330. border: 1px dashed #ddd;
  331. padding:10px;
  332. color: #828282;
  333. }
  334. }
  335. }
  336. `;