News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

A smol change to the packages page

Started by Antes, June 11, 2022, 01:58:09 AM

Previous topic - Next topic

Antes

Hai,

I'm suggesting lil' change to the packages part of the cust. site. Just something I did over my morning coffee :P

Code (HTML) Select
<div class="custom_files">
    <div class="subbg">Latest Version</div>
<div class="windowbg _custom_file strong">
        <span class="main_icons attachment"></span>
        <a href="https://custom.simplemachines.org/index.php?action=download;theme=2919;attach=66272701" class="preview" title="" rel="nofollow">Lunarfall.zip<span class="smf_swaptip" style="display: none;">Lunarfall.zip</span></a>
        <div class="smalltext">
            <span class="bullet_sp">1.82 MB</span>
            <span class="bullet_sp">v0.8.0</span>
            <span class="bullet_sp">2.1.2</span>
        </div>
    </div>
    <div class="subbg">Older Versions</div>
    <div class="windowbg _custom_file">
        <span class="main_icons attachment"></span>
        <a href="https://custom.simplemachines.org/index.php?action=download;theme=2919;attach=45206836" class="preview" title="" rel="nofollow">Lunarfall_v0.7.3.zip<span class="smf_swaptip" style="display: none;">Lunarfall_v0.7.3.zip</span></a>
        <div class="smalltext">
            <span class="bullet_sp">1.82 MB</span>
            <span class="bullet_sp">v0.7.3</span>
        </div>
    </div>
</div>
Code (CSS) Select
._custom_file:not(:first-of-type) {
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    border-top: none;
}
.subbg + .windowbg {
    border-top: 1px solid #ddd;
    border-radius: 6px 6px 0 0;
}

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

Advertisement: