Advertisement
swest

dpl-page-speaking-events.css

Mar 1st, 2025
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.42 KB | None | 0 0
  1.  
  2. header.event-title,
  3. .single-event-view .entry-header {
  4.     display: none;
  5. }
  6.  
  7. .event-details .event-description {
  8.     margin-bottom: 0.5em !important;
  9. }
  10.  
  11. .speaker-topic-wrapper {
  12.     display: grid;
  13.     grid-template-columns: 1fr 6fr;
  14.     gap: 2rem;
  15.     margin-left: 1rem;
  16.     margin-right: 1rem;
  17. }
  18.  
  19. .speaker-topic-wrapper .related-team-member {
  20.     order: 1;
  21.     display: flex;
  22.     flex-wrap: wrap;
  23.     aspect-ratio: 1;
  24.     object-fit: cover;
  25.     justify-self: center;
  26.     justify-content: center;
  27.     align-self: center;
  28.     align-items: center;
  29.     align-content: center;
  30. }
  31.  
  32. .team-member-name {
  33.     text-align: center;
  34.     font-weight: 500;
  35.     font-size: 1.1em;
  36.     margin-block-start: .5em !important;
  37.     margin-block-end: .5em !important;
  38. }
  39.  
  40. .speaker-topic-wrapper .topic-details {
  41.     order: 2;
  42. }
  43.  
  44. .speaker-topic-wrapper .topic-description {
  45.     margin-bottom: 1rem;
  46. }
  47. .dpl-page-speaking-events hr {
  48.     border-bottom-width: 1px;
  49.     color: var(--global-palette6);
  50.     margin-bottom: 1rem !important;
  51.     margin-top: 1rem !important;
  52. }
  53.  
  54. .topic-date-time {
  55.     margin-bottom: .5rem !important;
  56. }
  57.  
  58. .topic-title {
  59.     font-size: 1.5rem;
  60.     margin-top: .5rem !important;
  61.     margin-bottom: .5rem !important;
  62.     line-height: 1.1;
  63. }
  64.  
  65. .event-location {
  66.     display: flex;
  67.     flex-wrap: wrap;
  68.     align-content: center;
  69.     list-style-type: none;
  70.     margin-bottom: 0 !important;
  71.     padding-left: 0 !important;
  72. }
  73.  
  74. .dpl-page-speaking-events .entry-content h2.topic-title a,
  75. .dpl-page-speaking-events .entry-content a {
  76.     text-decoration: underline;
  77.     color: var(--global-palette1);
  78.     transition: all 0.1s linear;
  79. }
  80.  
  81. .dpl-page-speaking-events .entry-content a:hover {
  82.     text-decoration: underline;
  83.     text-decoration-color: currentcolor;
  84.     box-shadow: inset 0 -30px 0 0 var(--global-palette1);
  85.     color: var(--global-palette9) !important;
  86. }
  87.  
  88. .dpl-page-speaking-events .entry-content h2.topic-title a:hover {
  89.     text-decoration: underline;
  90.     text-decoration-color: currentcolor;
  91.     box-shadow: inset 0 -40px 0 0 var(--global-palette1);
  92.     color: var(--global-palette9) !important;
  93. }
  94.  
  95. .topic-tags {
  96.     margin: 1em 0;
  97.     display: flex;
  98. }
  99.  
  100. .topic-attachments {
  101.     display: flex;
  102.     flex-wrap: wrap;
  103.     justify-content: flex-start;
  104. }
  105.  
  106. .topic-tag-list,
  107. .topic-attachment-list {
  108.     display: flex;
  109.     flex-wrap: wrap;
  110.     justify-content: flex-start;
  111.     align-content: center;
  112.     list-style-type: none;
  113.     padding-left: 0 !important;
  114.     margin-left: 20px !important;
  115.     margin-bottom: 1em !important;
  116. }
  117.  
  118. .topic-tag-list .tag-item {
  119.     color: var(--global-palette9);
  120.     background-color: var(--global-palette1);
  121.     border-radius: 20px;
  122.     font-size: .8em;
  123.     font-weight: 400;
  124.     padding: calc(.4em - 3px) calc(1em - 3px);
  125.     text-decoration: none;
  126.     margin-right: .8em;
  127.     transition: background-color 0.5s ease;
  128.     cursor: default;
  129.     /* change to pointer if these become linkable */
  130. }
  131.  
  132. .topic-attachment-list .attachment-download-button {
  133.     display: inline-block;
  134.     color: var(--global-palette2);
  135.     background-color: var(--global-palette3);
  136.     border: 1px solid var(--global-palette2);
  137.     border-radius: 3px;
  138.     font-size: 1em;
  139.     padding: calc(.4em - 2px) calc(1em - 2px);
  140.     text-decoration: none;
  141.     text-transform: uppercase;
  142.     transition: background-color 0.5s ease;
  143.     margin-right: .5em;
  144. }
  145.  
  146. .topic-attachment-list .attachment-download-button:hover {
  147.     color: var(--global-palette4);
  148.     background-color: var(--global-palette9);
  149.     border: 1px solid var(--global-palette4);
  150. }
  151.  
  152. .dpl-page-speaking-events h2.topic-title a,
  153. .dpl-page-speaking-events a {
  154.     text-decoration: underline;
  155.     color: var(--global-palette1);
  156.     transition: all 0.1s linear;
  157. }
  158.  
  159. .dpl-page-speaking-events a:hover {
  160.     text-decoration: underline;
  161.     text-decoration-color: currentcolor;
  162.     box-shadow: inset 0 -30px 0 0 var(--global-palette1);
  163.     color: var(--global-palette9) !important;
  164. }
  165.  
  166. .dpl-page-speaking-events h2.topic-title a:hover {
  167.     text-decoration: underline;
  168.     text-decoration-color: currentcolor;
  169.     box-shadow: inset 0 -40px 0 0 var(--global-palette1);
  170.     color: var(--global-palette9) !important;
  171. }
  172.  
  173. .truncate3 {
  174.     overflow: hidden;
  175.     text-overflow: ellipsis;
  176.     display: -webkit-box;
  177.     -webkit-line-clamp: 3;
  178.     line-clamp: 3;
  179.     /* number of lines to show */
  180.     -webkit-box-orient: vertical;
  181.     margin-top: 1rem;
  182. }
  183.  
  184. .dpl-page-speaking-events .read-more-link {
  185.     text-align: right;
  186.     margin-top: .25rem !important;
  187.     margin-bottom: 1rem !important;
  188.     padding-left: 1rem;
  189.     padding-right: 3rem;
  190. }
  191.  
  192. .related-team-member {
  193.     aspect-ratio: 1;
  194.     width: 150px !important;
  195.     height: auto;
  196. }
  197.  
  198. .related-team-member .speaker-image {
  199.     aspect-ratio: 1;
  200.     object-fit: cover;
  201.     border-radius: 50%;
  202.     border: 5px solid var(--global-palette1);
  203.     justify-self: center;
  204. }
  205.  
  206. @media screen and (max-width: 767px) {
  207.     .kadence-column45900_bde0da-0a>.kt-inside-inner-col {
  208.         padding-top: 0 !important;
  209.         min-height: 25vh !important;
  210.         margin-top: -0.5em;
  211.     }
  212.  
  213.     .speaker-topic-wrapper {
  214.         grid-template-columns: 1fr;
  215.         margin-left: 0;
  216.         margin-right: 0;
  217.     }
  218.  
  219.     .team-member-details {
  220.         justify-self: center;
  221.     }
  222.  
  223.     .topic-date-time,
  224.     .topic-title {
  225.         text-align: center;
  226.     }
  227. }
  228.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement