links
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
7 changed files
with
49 additions
and
12 deletions
| ... | @@ -14520,12 +14520,6 @@ h3, .h3 { | ... | @@ -14520,12 +14520,6 @@ h3, .h3 { |
| 14520 | margin-bottom: 20px; | 14520 | margin-bottom: 20px; |
| 14521 | font-family: "Open Sans", sans-serif; | 14521 | font-family: "Open Sans", sans-serif; |
| 14522 | } | 14522 | } |
| 14523 | @media only screen and (max-width: 768px) { | ||
| 14524 | h3, .h3 { | ||
| 14525 | font-size: 24px; | ||
| 14526 | line-height: 34px; | ||
| 14527 | } | ||
| 14528 | } | ||
| 14529 | 14523 | ||
| 14530 | a { | 14524 | a { |
| 14531 | color: #2C2C2C; | 14525 | color: #2C2C2C; |
| ... | @@ -16390,6 +16384,25 @@ td.hidden { | ... | @@ -16390,6 +16384,25 @@ td.hidden { |
| 16390 | } | 16384 | } |
| 16391 | } | 16385 | } |
| 16392 | 16386 | ||
| 16387 | .external-link .item-content a:after { | ||
| 16388 | content: ""; | ||
| 16389 | height: 22px; | ||
| 16390 | width: 22px; | ||
| 16391 | margin-left: 10px; | ||
| 16392 | display: inline-block; | ||
| 16393 | background-size: contain; | ||
| 16394 | background-repeat: no-repeat; | ||
| 16395 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='21.24' height='21.22' viewBox='0 0 21.24 21.22'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_151' data-name='Rectangle 151' width='21.24' height='21.22' fill='%23156570'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Component_14_1' data-name='Component 14 %E2%80%93 1' transform='translate(0 0)'%3E%3Cpath id='Path_1277' data-name='Path 1277' d='M0 0V21.22H21.24V9.905h-2.6v8.729H2.618V2.553h8.5V0Z' transform='translate(0 0)' fill='%23156570'/%3E%3Cg id='Group_1023' data-name='Group 1023' transform='translate(0 0)'%3E%3Cg id='Group_1022' data-name='Group 1022' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_1278' data-name='Path 1278' d='M18.3 13.81l-1.941-1.935L25.682 2.6h-2.59V.016h7.014v7H27.535V4.543L18.3 13.81' transform='translate(-8.867 -0.009)' fill='%23156570'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); | ||
| 16396 | } | ||
| 16397 | @media only screen and (max-width: 768px) { | ||
| 16398 | .external-link .item-content a:after { | ||
| 16399 | height: 22px; | ||
| 16400 | width: 22px; | ||
| 16401 | scroll-margin-left: 5px; | ||
| 16402 | margin-top: 5px; | ||
| 16403 | } | ||
| 16404 | } | ||
| 16405 | |||
| 16393 | .article:before { | 16406 | .article:before { |
| 16394 | content: ""; | 16407 | content: ""; |
| 16395 | height: 50px; | 16408 | height: 50px; | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
| ... | @@ -130,11 +130,19 @@ function resources($id){ | ... | @@ -130,11 +130,19 @@ function resources($id){ |
| 130 | $type .= " ".$category->slug; | 130 | $type .= " ".$category->slug; |
| 131 | } | 131 | } |
| 132 | }; | 132 | }; |
| 133 | } ?> | 133 | } |
| 134 | $target =""; | ||
| 135 | $link = get_permalink($id); | ||
| 136 | $resources_link = get_post_meta($id, 'resources_link', true); | ||
| 137 | if($resources_link !="" ){ | ||
| 138 | $link = $resources_link; | ||
| 139 | $target = "target='_blank'"; | ||
| 140 | } | ||
| 141 | ?> | ||
| 134 | 142 | ||
| 135 | <tr class="table-like__item"> | 143 | <tr class="table-like__item"> |
| 136 | <td class="hidden"> <?php echo $type; ?></td> | 144 | <td class="hidden"> <?php echo $type; ?></td> |
| 137 | <td class="item <?php echo $type; ?>"><div class="item-content"><a role="button" href="<?php echo get_permalink($id); ?>"><?php echo $post->post_title; ?></a><br> | 145 | <td class="item <?php echo $type; ?>"><div class="item-content"><a role="button" <?php echo $target; ?> href="<?php echo $link; ?>"><?php echo $post->post_title; ?></a><br> |
| 138 | <?php echo $text; ?><div> | 146 | <?php echo $text; ?><div> |
| 139 | </td> | 147 | </td> |
| 140 | <td class="hidden"> <?php echo $cat; ?></td> | 148 | <td class="hidden"> <?php echo $cat; ?></td> | ... | ... |
| ... | @@ -46,10 +46,6 @@ h3{ | ... | @@ -46,10 +46,6 @@ h3{ |
| 46 | margin-top: 20px; | 46 | margin-top: 20px; |
| 47 | margin-bottom: 20px; | 47 | margin-bottom: 20px; |
| 48 | font-family: 'Open Sans', sans-serif; | 48 | font-family: 'Open Sans', sans-serif; |
| 49 | @media only screen and (max-width: 768px) { | ||
| 50 | font-size: 24px; | ||
| 51 | line-height: 34px; | ||
| 52 | } | ||
| 53 | } | 49 | } |
| 54 | a{ | 50 | a{ |
| 55 | color:#2C2C2C; | 51 | color:#2C2C2C; | ... | ... |
| ... | @@ -145,6 +145,26 @@ td.hidden { | ... | @@ -145,6 +145,26 @@ td.hidden { |
| 145 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='67' viewBox='0 0 50 67'%3E%3Cg id='Group_1482' data-name='Group 1482' transform='translate(-4332.135 -1543.456)'%3E%3Cpath id='Rectangle_341' data-name='Rectangle 341' d='M3 3V47H64V3H3M3 0H64a3 3 0 0 1 3 3V47a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3A3 3 0 0 1 3 0Z' transform='translate(4382.135 1543.456) rotate(90)' fill='%230484b8'/%3E%3Cg id='Group_1481' data-name='Group 1481' transform='translate(5945.502 -2769.132) rotate(90)'%3E%3Crect id='Rectangle_343' data-name='Rectangle 343' width='6' height='30.351' rx='3' transform='translate(4364.5 1573)' fill='%230484b8'/%3E%3Crect id='Rectangle_344' data-name='Rectangle 344' width='6' height='30.351' rx='3' transform='translate(4354.308 1573)' fill='%230484b8'/%3E%3Crect id='Rectangle_345' data-name='Rectangle 345' width='6' height='30.351' rx='3' transform='translate(4344.115 1573)' fill='%230484b8'/%3E%3C/g%3E%3Ccircle id='Ellipse_13' data-name='Ellipse 13' cx='8' cy='8' r='8' transform='translate(4349.135 1552.5)' fill='%230484b8'/%3E%3C/g%3E%3C/svg%3E"); | 145 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='67' viewBox='0 0 50 67'%3E%3Cg id='Group_1482' data-name='Group 1482' transform='translate(-4332.135 -1543.456)'%3E%3Cpath id='Rectangle_341' data-name='Rectangle 341' d='M3 3V47H64V3H3M3 0H64a3 3 0 0 1 3 3V47a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3A3 3 0 0 1 3 0Z' transform='translate(4382.135 1543.456) rotate(90)' fill='%230484b8'/%3E%3Cg id='Group_1481' data-name='Group 1481' transform='translate(5945.502 -2769.132) rotate(90)'%3E%3Crect id='Rectangle_343' data-name='Rectangle 343' width='6' height='30.351' rx='3' transform='translate(4364.5 1573)' fill='%230484b8'/%3E%3Crect id='Rectangle_344' data-name='Rectangle 344' width='6' height='30.351' rx='3' transform='translate(4354.308 1573)' fill='%230484b8'/%3E%3Crect id='Rectangle_345' data-name='Rectangle 345' width='6' height='30.351' rx='3' transform='translate(4344.115 1573)' fill='%230484b8'/%3E%3C/g%3E%3Ccircle id='Ellipse_13' data-name='Ellipse 13' cx='8' cy='8' r='8' transform='translate(4349.135 1552.5)' fill='%230484b8'/%3E%3C/g%3E%3C/svg%3E"); |
| 146 | } | 146 | } |
| 147 | 147 | ||
| 148 | .external-link .item-content a:after { | ||
| 149 | content: ""; | ||
| 150 | height: 22px; | ||
| 151 | width: 22px; | ||
| 152 | margin-left: 10px; | ||
| 153 | @media only screen and (max-width: 768px) { | ||
| 154 | height: 22px; | ||
| 155 | width: 22px; | ||
| 156 | scroll-margin-left: 5px; | ||
| 157 | margin-top: 5px; | ||
| 158 | |||
| 159 | } | ||
| 160 | display: inline-block; | ||
| 161 | background-size: contain; | ||
| 162 | background-repeat: no-repeat; | ||
| 163 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='21.24' height='21.22' viewBox='0 0 21.24 21.22'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_151' data-name='Rectangle 151' width='21.24' height='21.22' fill='%23156570'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Component_14_1' data-name='Component 14 %E2%80%93 1' transform='translate(0 0)'%3E%3Cpath id='Path_1277' data-name='Path 1277' d='M0 0V21.22H21.24V9.905h-2.6v8.729H2.618V2.553h8.5V0Z' transform='translate(0 0)' fill='%23156570'/%3E%3Cg id='Group_1023' data-name='Group 1023' transform='translate(0 0)'%3E%3Cg id='Group_1022' data-name='Group 1022' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_1278' data-name='Path 1278' d='M18.3 13.81l-1.941-1.935L25.682 2.6h-2.59V.016h7.014v7H27.535V4.543L18.3 13.81' transform='translate(-8.867 -0.009)' fill='%23156570'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); | ||
| 164 | } | ||
| 165 | |||
| 166 | |||
| 167 | |||
| 148 | .article:before { | 168 | .article:before { |
| 149 | content: ""; | 169 | content: ""; |
| 150 | height: 50px; | 170 | height: 50px; | ... | ... |
-
Please register or sign in to post a comment