Widget: Homepage: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 150: Line 150:
             margin: 4em 0;
             margin: 4em 0;
         }
         }
         .snippet {  
         .snippet .snippet-inner {
            height: 100%;
             display: flex;
             display: flex;
             flex-flow: column nowrap;
             flex-flow: column nowrap;
Line 499: Line 500:
                 const snippet = snippets[index];
                 const snippet = snippets[index];
                 let el = '<a class="snippet ' + snippet.product + '" href="' + snippet.action + '">';
                 let el = '<a class="snippet ' + snippet.product + '" href="' + snippet.action + '">';
                    el += '<div class="snippet-inner">';
                     el += '<div class="snippet-header">' + snippet.title + '</div>';
                     el += '<div class="snippet-header">' + snippet.title + '</div>';
                     el += '<div class="snippet-body">' + snippet.body + '</div>';
                     el += '<div class="snippet-body">' + snippet.body + '</div>';
                     el += '</a>';
                     el += '</div></a>';
                 container.innerHTML += el;
                 container.innerHTML += el;
             }
             }
         </script>
         </script>
</includeonly>
</includeonly>

Revision as of 16:13, 27 October 2023

Second version of the LINKS Community Center homepage.
Do not modify!