6-page-content-elements edit

photoset  edit

  • wmci-homecoming
    WMCI Homecoming Parade 2019  WMCI volunteers begin their march with the dragon as the Homecoming Parade begins  
  • wmci-open-house-2019
    WMCI Open House 2019  A visitor tries their hand at calligraphy as Student Intern Mengnan Feng watches on.  
  • our-volunteers-pose-for-a-group-photo-after-the-parade.jpg
    WMCI Homecoming 2018  Our volunteers (and the WMCI Panda!) pose for a photo after the parade. This group took home 3rd place ($200 cash prize!) in the official student unit competition.  
Photo - of -
Copy
Edit
<!-- using flexslider --> <div class="flexslider" id="wm-photoset"> <ul class="slides"> <li> <img alt="wmci-homecoming" class="panel" src="https://via.placeholder.com/515x343?text=Slide 1-515x343" /> <div class="wmphotoset-caption"> <span class="wmphotoset-title">WMCI Homecoming Parade 2019</span> <span class="wmphotoset-caption-text"> &#160;WMCI volunteers begin their march with the dragon as the Homecoming Parade begins <span class="wmphotoset-credit"> &#160;</span> </span> </div> </li> <li> <img alt="wmci-open-house-2019" class="panel" src="https://via.placeholder.com/515x343?text=Slide 2-515x343" /> <div class="wmphotoset-caption"> <span class="wmphotoset-title">WMCI Open House 2019</span> <span class="wmphotoset-caption-text"> &#160;A visitor tries their hand at calligraphy as Student Intern Mengnan Feng watches on. <span class="wmphotoset-credit"> &#160;</span> </span> </div> </li> <li> <img alt="our-volunteers-pose-for-a-group-photo-after-the-parade.jpg" class="panel" src="https://via.placeholder.com/515x343?text=Slide 3-515x343" /> <div class="wmphotoset-caption"> <span class="wmphotoset-title">WMCI Homecoming 2018</span> <span class="wmphotoset-caption-text"> &#160;Our volunteers (and the WMCI Panda!) pose for a photo after the parade. This group took home 3rd place ($200 cash prize!) in the official student unit competition. <span class="wmphotoset-credit"> &#160;</span> </span> </div> </li> </ul> <div id="wm-photoset-info"> <div id="wm-photoset-position">Photo - of -</div> <button class="hide-caption" id="wm-photoset-caption-toggle"> <span class="fa fa-minus" id="wm-photoset-caption-toggle-indicator"></span> <span id="wm-photoset-caption-toggle-text">Hide Caption</span> </button> </div> </div>
Copy
Copy
Edit
/* scss/6-page-content-elements/_photoset.scss */ #wm-photoset { box-sizing: content-box; } // legacy /*** WM Photosets ***/ #wm-photoset { max-width: 475px; margin: 1.5625rem auto; padding: 0px 0px 40px 0px; color: var(--color-wmgreen-90); border-bottom: 1px solid var(--color-wmgreen-90); font-size: 0.83rem; @include breakpoint($mobile-to-desktop-breakpoint) { margin: 1.5625rem 0; } } .wmphotoset-title { font-weight: bold; } .wmphotoset-caption { padding: 10px 0 0 0; color: var(--color-text-base); font-size: 0.83rem; } .wmphotoset-credit { font-style: italic; } #wm-photoset .flex-direction-nav { display: none; } #wm-photoset:hover .flex-direction-nav, .touch #wm-photoset .flex-direction-nav { display: block; } #wm-photoset .flex-direction-nav a { top: 85px; color: var(--color-wmsilver-25); -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; background: rgba(0, 0, 0, 0.7); } #wm-photoset .flex-direction-nav a:before { line-height: 35px !important; } #wm-photoset .flex-direction-nav .flex-prev { left: 0px; } #wm-photoset .flex-direction-nav .flex-next { right: 0px; } #wm-photoset-info { position: absolute; z-index: 0; z-index: 20; bottom: 10px; width: 100%; height: 20px; font-size: 0.83rem; font-weight: bold; line-height: 20px; } #wm-photoset-position { position: absolute; left: 0; } #wm-photoset-caption-toggle { position: absolute; right: 0; min-height: 15px; padding-top: 0; padding-right: 0; padding-bottom: 0; cursor: pointer; text-align: right; letter-spacing: 0; text-transform: none; color: var(--color-wmgreen-90); border: none; background: none; font-size: 13px; font-weight: bold; } #wm-photoset-caption-toggle-text { padding-left: 0; } #wm-photoset-caption-toggle:focus #wm-photoset-caption-toggle-text, #wm-photoset-caption-toggle:hover #wm-photoset-caption-toggle-text { text-decoration: underline; } /* #wm-photoset-caption-toggle-text:hover {*/ /* text-decoration: underline;*/ /*}*/ #wm-photoset-caption-toggle-indicator { margin-right: 0.5em; font-size: 11px; //font-weight: 400; } @media only screen and (min-width: 360px) { /** W&M photosets **/ #wm-photoset .flex-direction-nav a { top: 115px; } } @media only screen and (min-width: 510px) { /** W&M photosets **/ #wm-photoset .flex-direction-nav a { top: 135px; } } @media screen and (min-width: 1000px) { #wm-photoset .flex-direction-nav a { top: 120px; } } @media print { #wm-photoset:hover .flex-direction-nav { display: none; } .wmphotoset-caption, .user_content figcaption { font-size: 8pt; line-height: 1.3em; } #wm-photoset { overflow: hidden; max-width: 650px; height: auto !important; margin: 1.5625rem 0 0 0 !important; padding: 0 !important; } #wm-photoset li, #wm-photoset-info { position: relative; padding: 15px 0 0 0; } #wm-photoset-position { position: relative; } #wm-photoset li img { float: left; width: 350px; } #wm-photo-nav #prev-photo, #wm-photo-nav #next-photo { display: none; } #wm-photoset .wmphotoset-caption { float: left; width: 250px; margin: 0 0 0 20px; padding: 0; } #wm-photoset-info { position: absolute; left: 370px; } } /* scss/3-js/_flexslider.scss */ // legacy css /* * jQuery FlexSlider v2.2.0 * http://www.woothemes.com/flexslider/ * * Copyright 2012 WooThemes * Free to use under the GPLv2 license. * http://www.gnu.org/licenses/gpl-2.0.html * * Contributing author: Tyler Smith (@mbmufffin) */ /* Browser Resets *********************************/ .flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus { outline: none; } .slides, .flex-control-nav, .flex-direction-nav { margin: 0; padding: 0; list-style: none; } /* FlexSlider Necessary Styles *********************************/ .flexslider { margin: 0; padding: 0; } .flexslider .slides > li { display: none; -webkit-backface-visibility: hidden; margin: 0; padding: 0; } /* Hide the slides before the JS is loaded. Avoids image jumping */ .flexslider .slides img { width: 100%; display: block; } .flex-pauseplay span { text-transform: capitalize; } /* Clearfix for the .slides element */ .slides:after { content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } html[xmlns] .slides { display: block; } * html .slides { height: 1%; } /* No JavaScript Fallback */ /* If you are not using another script, such as Modernizr, make sure you * include js that eliminates this class on page load */ .no-js .slides > li:first-child { display: block; } /* FlexSlider Default Theme *********************************/ .flexslider { position: relative; zoom: 1; } .flex-viewport { max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; } .loading .flex-viewport { max-height: 300px; } .flexslider .slides { zoom: 1; } .carousel li { margin-right: 5px; } /* Direction Nav */ .flex-direction-nav { *height: 0; } .flex-direction-nav a { font-size: 0; text-align: center; text-decoration: none !important; display: block; width: 36px; height: 35px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; cursor: pointer; color: #000000; } .flex-direction-nav .flex-prev { left: 0px; } .flex-direction-nav .flex-next { right: 0px; } .flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; } .flex-direction-nav .flex-disabled { opacity: 0 !important; filter: alpha(opacity=0); cursor: default; } .flex-direction-nav a:before { font-family: "Font Awesome 6 Pro"; font-size: 21px; line-height: 30px; display: inline-block; content: "\f053"; font-weight: 900; } .flex-direction-nav a.flex-next:before { content: "\f054"; } /* Control Nav */ .flex-control-nav { width: 100%; padding-top: 20px; text-align: center; } .flex-control-nav li { margin: 0 6px; display: inline-block; zoom: 1; *display: inline; } .flex-control-paging li a { width: 14px; height: 14px; display: block; background: var(--color-wmsilver-25); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -webkit-box-shadow: inset 0 0 3px rgba(var(--color-wmsilver-25), 0.3); -moz-box-shadow: inset 0 0 3px rgba(var(--color-wmsilver-25), 0.3); -o-box-shadow: inset 0 0 3px rgba(var(--color-wmsilver-25), 0.3); box-shadow: inset 0 0 3px rgba(var(--color-wmsilver-25), 0.3); } .flex-control-paging li a:hover { background: var(--color-wmgreen-90); } .flex-control-paging li a.flex-active { background: var(--color-wmgreen-90); cursor: default; } .flex-control-thumbs { margin: 5px 0 0; position: static; overflow: hidden; } .flex-control-thumbs li { width: 25%; float: left; margin: 0; } .flex-control-thumbs img { width: 100%; display: block; opacity: 0.7; cursor: pointer; } .flex-control-thumbs img:hover { opacity: 1; } .flex-control-thumbs .flex-active { opacity: 1; cursor: default; }