D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
grandhou
/
public_html
/
album
/
album-css
/
Filename :
album.css
back
Copy
@charset "utf-8"; body { margin: 0px; padding-top: 0%; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Raleway, sans-serif; font-size: 15px; line-height: normal; color: #CCCCCC; background-color: #2D2D2D; } .logo { float: left; width: 97.5%; background-color: #FFFFFF; padding-top: 11px; padding-bottom: 11px; padding-left: 2.5%; } .mainwrap { height: auto; width: 95%; float: left; padding: 2.5%; } .coverwrap { height: 100vh; width: 100vw; background-repeat: no-repeat; background-position: center center; background-size: cover; position: relative; } .coverwrap:before { content: ''; /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.63+6,0+52 */ background: -moz-linear-gradient(-45deg, rgba(0,0,0,0.63) 0%, rgba(0,0,0,0.63) 6%, rgba(0,0,0,0) 52%, rgba(0,0,0,0) 100%); /* FF3.6-15 */ background: -webkit-linear-gradient(-45deg, rgba(0,0,0,0.63) 0%,rgba(0,0,0,0.63) 6%,rgba(0,0,0,0) 52%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(135deg, rgba(0,0,0,0.63) 0%,rgba(0,0,0,0.63) 6%,rgba(0,0,0,0) 52%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a1000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ position: absolute; left: 0px; bottom: 0px; height: 100%; width: 100%; z-index: 1; } .coverwrap .logo { text-align: left; top: 0px; z-index: 3; position: absolute; } .home { float: right; width: auto; margin-top: 11px; letter-spacing: 1px; position: relative; z-index: 5; background-image: url(../album-images/back.png); background-repeat: no-repeat; background-position: left center; padding-left: 24px; margin-right: 2.5%; } a.b { font-size: 15px; color: #FFFFFF; width: 218px; font-weight: normal; border: 2px solid rgba(255,255,255,0.5); margin-top: 21px; padding-top: 9px; padding-bottom: 9px; display: block; text-align: center; letter-spacing: 1px; } a.b:hover { color: #000000; background-color: #FFFFFF; } button.b { font-size: 15px; color: #FFFFFF; width: 218px; font-weight: normal; border: 2px solid rgba(255,255,255,0.5); margin-top: 21px; padding-top: 9px; padding-bottom: 9px; display: block; text-align: center; letter-spacing: 1px; background: none; } button.b:hover { color: #000000; background-color: #FFFFFF; } .input { width: 200px; padding-top: 9px; padding-right: 7px; padding-bottom: 9px; padding-left: 11px; font-family: Raleway, sans-serif; font-size: 15px; background-color: transparent; color: #FFFFFF; border: 2px solid rgba(255,255,255,0.5); } .input:focus { outline: none; border-color: rgba(255,255,255,1); background-color: #FFFFFF; color: #000000; font-weight: bold; } .cover-text { height: auto; width: auto; letter-spacing: 2px; padding-top: 21px; padding-right: 45px; padding-bottom: 21px; padding-left: 45px; border-top-color: rgba(255,255,255,0.5); border-right-color: rgba(255,255,255,0.5); border-bottom-color: rgba(255,255,255,0.5); border-left-color: rgba(255,255,255,0.5); z-index: 2; position: relative; margin-top: 90px; display: inline-block; } .cover-text h2 { font-size: 1.8vw; color: #FFFFFF; } h2 { font-size: 25px; color: #EBEBEB; margin: 0px; padding-top: 5px; padding-bottom: 5px; position: relative; text-transform: uppercase; } h2:before { position: absolute; content: url(../album-images/icon.png); left: -14px; bottom: 18px; } .row { float: left; width: 100%; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; box-sizing:border-box; } .gal-4-col { -ms-flex: 25%; flex: 25%; max-width: 25%; box-sizing:border-box; } .gal-4-col img:hover { opacity:0.7; } .gal-4-col img { height: auto; width: 99.5%; vertical-align: middle; margin-right: 0.5%; margin-bottom: 0.5%; box-sizing:border-box; } .desc { float: left; width: 100%; margin-top: 11px; margin-bottom: 11px; color: #DFDFDF; text-transform: uppercase; font-family: Arial, Helvetica, sans-serif; line-height: 21px; font-weight: bold; } .desc strong { font-size: 12px; font-weight: normal; color: #9A9A9A; } .name { float: left; width: 100%; margin-bottom: 45px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #404040; letter-spacing: 3px; text-transform: uppercase; padding-bottom: 40px; } .name span { font-size: 14px; font-weight: normal; letter-spacing: normal; font-family: Arial, Helvetica, sans-serif; margin: 0px; padding: 0px; } .image-wrap { float: left; width: 80%; margin-right: 10%; margin-left: 10%; text-align: center; } .image4cols { width: 23%; margin-right: 0.5%; margin-bottom: 2%; height: auto; vertical-align: top; display: inline-block; margin-left: 0.5%; } .image4cols:hover img { opacity:0.7; } .ayyans { font-size: 12px; color: #999999; float: left; width: 95%; padding-right: 2.5%; padding-left: 2.5%; padding-top: 5px; padding-bottom: 5px; margin-bottom: 21px; } .ayyans a { color: #999999; } .album-container{ width: 100%; float: left; } .album-container ul { -moz-column-count: 3; -webkit-column-count: 3; column-count: 3; -moz-column-gap: 1px; -webkit-column-gap: 1px; column-gap: 1px; width: 100%; vertical-align: top; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; float: left; margin-right: 0px; margin-left: 0px; padding-right: 0%; padding-left: 0%; margin-top: 0px; padding-top: 0px; } .album-container ul li{ display: inline-block; margin-top: 0; margin-bottom: 1px; overflow: hidden; vertical-align: top; } .album-cells { display: inline-block; margin-top: 0; margin-bottom: 1px; overflow: hidden; vertical-align: top; } .album-container li:hover img{ -moz-transform: scale(1.1); -webkit-transform: scale(1.1); -o-transform: scale(1.1); -ms-transform: scale(1.1); transform: scale(1.1) } .album-container ul li img { height: auto; width: 100%; -webkit-transition: all 222ms ease; -moz-transition: all 222ms ease; -ms-transition: all 222ms ease; -o-transition: all 222ms ease; transition: all 222ms ease; vertical-align: top; } a { color: #333333; text-decoration: none; } a:hover { color: #FF6600; } .image4cols img { height: 220px; width: 100%; object-fit: cover; text-align: center; vertical-align: top; } #back-top { position: fixed; bottom: 0; right: 0; float: right; height: 42px; width: 42px } #back-top a { display: block; text-align: center; text-transform: uppercase; text-decoration: none; -webkit-transition: 1s; -moz-transition: 1s; transition: 1s; font-size: 11px; line-height: normal; background-repeat: no-repeat; background-position: center center; background-color: #666 } #back-top a:hover { background-color: #000 } @media(max-width:1280px){ .image4cols img { height: 180px; } } @media(max-width:780px){ .image4cols { width:47%; } .image-wrap { width: 90%; margin-right: 5%; margin-left:5%; } .album-container ul { -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; } .cover-text h2 { font-size:4vw; } } @media(max-width:580px){ .album-container ul { -moz-column-count: 1; -webkit-column-count: 1; column-count: 1; } .album-container ul li img{ margin-bottom:5px;} .image4cols { width:100%; margin-right:opx; } .image4cols img{ height:230px; } h2 { font-size:15px; } h2:before { left: 50%; margin-left: -11.5px; bottom: 21px; } .name { margin-top: 33px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #404040; letter-spacing: 3px; text-transform: uppercase; padding-bottom: 40px; text-align: center; } .cover-text h2 { font-size:6vw; color: #FFFFFF; } }