/** * Title : CraftPress Style difine * Authour : Letters51 **/ @content-width: 1200px; /* font size */ @extraSmall: 9px; @small: 12px; @normal: 14px; @large: 16px; @extraLarge: 19px; /* color */ @black: #000; @gray: #eee; @darkGray: #999; @white: #fff; @blue: #337ab7; @facebookBlue: #3b5998; @youtubeRed: #b31217; /* mix in */ .defaultCenter() { position: relative; width: @content-width; margin: 0 auto; } .btn01(@color) { font-size: @normal; display: block; width: 200px; padding: 5px; text-align: center; color: @white; /*border-radius: 5px;*/ background-color: @color; } .btn01hover() { text-decoration: none; color: @darkGray; background-color: @gray; } .verticalMiddle() { display: flex; align-items: center; justify-content: center; display: -webkit-flex; align-items: -webkit-center; justify-content: -webkit-center; } .fading() { //-webkit-transition: 0.3s ease-in-out; //transition: 0.3s ease-in-out; transition-duration: 1.5s; transition-timing-function: cubic-bezier(0.9,1.5,0.9,1.0); } .transformXY(@x:0px, @y:0px) { -webkit-transform: translate(@x, @y); /* Safari */ transform: translate(@x, @y); } .flexElm() { display: -webkit-flex; display: flex; justify-content: space-between; } .googleFont() { font-family: 'Montserrat', sans-serif; } /**********/ /* Common */ /**********/ body, html { font-size: @normal; line-height: 2; width: 100%; height: 100%; word-break: break-all; } body { overflow-y: scroll; } h2, h3 { font-weight: bold; } li, ul { padding: 0; } a { transition: all .35s; } a:hover { opacity: 0.7; } .explanation { background-image: url("../img/common/footerBack.png"); background-repeat: repeat; padding: 10px; font-size: @small; margin-bottom: 50px; } .mt0 { margin-top: 0 !important; } .pd20 { padding: 20px !important; } .pTitleWrapper { width: 100%; text-align: center; } span.pTitle { display: inline-block; font-weight: bold; width: auto; background-image: url("../img/common/footerBack.png"); background-repeat: repeat; color: @black; padding: 0; font-size: 16px; line-height: 16px; } li { list-style-type: none; } span.must { color: @youtubeRed; } input[type="password"], input[type="text"], select, textarea { outline: none; } *:focus { outline: none; } nav { position: relative; ul { position: relative; } } h1#mainSiteTitle { font-size: @small; line-height: 50px !important; height: 50px !important; margin: 0 !important; position: absolute; top: 0; left: 0; } h2.comTitle { line-height: 45px; width: 100%; height: auto; margin: 50px auto 20px; text-align: center; position: relative; } h2.comTitle::before { width: 100%; height: 4px; display: block; content: ''; background-image: url('../img/common/titleBackimg.png'); background-repeat: repeat-x; } h2.comTitle::after { width: 100%; height: 4px; display: block; content: ''; background-image: url('../img/common/titleBackimg.png'); background-repeat: repeat-x; opacity: 0.3; } #topMenuWrapper { position: fixed; z-index: 999999; width: 100%; height: 50px; border-top: 2px @gray solid; background-color: @white; } .addBorderBottom { border-bottom: 2px @black solid; } #topMenuContent { .defaultCenter(); } div#globalMenu { position: absolute; top: 0; right: 200px; ul { li { line-height: 50px !important; float: left; height: 50px !important; margin-left: 50px; a { font-size: @normal; color: @black; } } } } #smNavOpener { display: none; } #wholeTopWrapper { .defaultCenter(); } #wholeBottomWrapper { .defaultCenter(); margin-top: 120px; } #headerWrapper { position: relative; width: 100%; overflow: hidden; margin-bottom: 50px; } #greetingWrapper, #meaningWrapper { position: relative; height: auto; /* margin-top: 50px; */ } #blogWrapper { width: 98%; margin: 0 auto 150px; } #worksWrapper { width: 98%; margin: 0 auto; } .scrollFade { position: relative; .transformXY(0px,20px); opacity: 0; } .defaultbtn01 { margin: 0 auto; .btn01(@black); } .defaultbtn01:hover { .btn01hover(); } .letRes2 { -webkit-flex: 1; flex: 1; padding: 0; } [id*="_left"] { float: left; } [id*="_right"] { float: right; } [class*="_left"] { float: left; } [class*="_right"] { float: right; } a.home { display: inline-block; background-color: @black; color: @white; padding: 5px; font-size: @small; line-height: @small; } a.category { display: inline-block; background-color: @gray; color: @darkGray; padding: 5px; font-size: @small; line-height: @small; } a.catBtn { display: inline-block; background-color: @blue; color: @white; padding: 3px; margin: 0; font-size: @extraSmall; line-height: @small; position: absolute; bottom: 0; } .flexSection { display: -webkit-flex; display: flex; justify-content: space-between; } .flexSection_reverse { display: -webkit-flex; display: flex; -webkit-flex-direction: row-reverse; flex-direction: row-reverse; justify-content: space-between; //margin-bottom: 50px; } .flexSection, .flexSection_reverse { div, section { padding:: 20px; -webkit-flex: 1; flex: 1; } } div[class^='flexSection'] { margin-bottom: 70px; } .verMiddle { .verticalMiddle(); } .pageNav { width: 100%; text-align: center; a.page-numbers, span.page-numbers { display: inline-block; width: 40px; height: 40px; border: 1px solid @black; border-radius: 50%; margin: 0 3px; line-height: 40px; color: @black; .fading(); } a.page-numbers:hover { background-color: @black; color: @white; } span.page-numbers { width: 50px; height: 50px; background-color: @black; color: @white; line-height: 50px; } } .nav-links { .verticalMiddle(); } .is_hide { display: none; } /**********/ /* loading */ /**********/ #loadingWhole { display: none; position: fixed; width: 100%; height: 100%; z-index: 9999; background-color: rgba(255,255,255,1.0); } #loadingDisplay { position: fixed; top: 50%; left: 50%; margin-left: -75px; margin-top: -75px; width: 150px; height: 150px; z-index: 99999; color: @black; text-align: center; img { width: 100%; height: auto; } } /**********/ /* index */ /**********/ #topPhoto { width: 100%; background-image: url('../img/index/testImg03.jpg'); background-repeat: no-repeat; background-position: center center; background-size: cover; position: relative; .transformXY(0px,20px); opacity: 0; } #topSnsBtnArea { position: absolute; right: 0; top: 5px; ul { li { float: left; margin-left: 10px; width: 35px; img { width: 100%; height: auto; } } } } #mainSwitchTitle { height: 50px; width: 200px; overflow: hidden; position: absolute; top: 0; left: 0; } p#horiLogoImg { position: absolute; width: 70px; top: 50px; left: 0; img { width: 100%; } } #middlePhoto { width: 100%; height: 500px; margin: 100px 0; background-color: @black; text-align: center; color: @white; background-image: url('../img/index/testImg03.jpg'); background-repeat: no-repeat; background-position: bottom; background-size: 100%; .verticalMiddle(); text-align: center; } #topPhoto { .verticalMiddle(); .flexElm(); img { width: 200px; height: auto; } } #topLeft, #topRight { width: 600px; text-align: center; } .greetingText { width: 60%; margin: 0 auto; } h3.movieTitle { font-size: 11px; line-height: 1.5; margin-top: 2px !important; margin-bottom: 0 !important; } p.termName { font-size: 12px; a { color: #999; .googleFont(); } } #bottomConteWrapper { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; align-items: flex-start; width: 98%; margin: 100px auto; } .bottomConteChildWrapper { width: 25.3%; margin: 0 4.0%; p { font-size: 0.8em; } h3 { font-size: 1.0em; font-weight: bold; position: relative; display: inline-block; padding: 0 0 0 10px; line-height: 50px; height: 50px; } h3::before { content: ''; width: 50px; height: 50px; background-image: url("../img/common/footerBack.png"); background-repeat: repeat; position: absolute; left: 0; } } #contactTable { table-layout: auto; border-collapse: separate; border-spacing: 10px 20px; margin: -10px auto 0; width: 100%; td, th { font-size: 0.8em; } } #footerSnsWrapper { text-align: center; margin-bottom: 20px; } a.footerSns { display: inline-block; line-height: 40px; width: 40px; height: 40px; color: white; margin: 0 10px; font-size: 20px; text-align: center; } a.fb { background-color: #333; } a.insta { background-color: #333; } a.youtube { background-color: #333; } /**********/ /* pages */ /**********/ #pageHeaderWrapper { width: 1200px; margin: 0 auto; position: relative; } h1#pageMainTitle { position: relative; width: 100%; text-align: left; color: @darkGray; font-size: 10px; margin: 10px 0; letter-spacing: 5px; padding-left: 2px; } #titleHeader { margin: 40px 0; } h2#pageTitle { width: 98%; text-align: center; border-bottom: 1px solid @black; margin: 20px auto; .googleFont(); } #lettersCrumb { width: 100%; text-align: center; } #lettersCrumb::after { content: ''; display: block; width: 100%; margin: 20px 0 0; height: 37px; background-image: url('../img/common/pageCrumbLine.png'); background-repeat: repeat-y; background-position: center; } #pageLogoArea { float: left; margin-top: 15px; img { width: 100px; height: auto; } } #pageGlobalNavi { border-bottom: 1px solid #ccc; border-top: 2px solid @black; float: left; margin: 51px 0 0 50px; ul { padding: 0 40px; li { line-height: 30px !important; float: left; height: 30px !important; margin-right: 80px; a { font-size: @normal; color: @black; .googleFont(); } } li:last-child { margin-right: 0; } } } #snsBtnArea { position: absolute; right: 0; top: 45px; ul { li { float: left; margin-left: 10px; width: 40px; img { width: 100%; height: auto; } } } } #pageConteWrapper { width: 98%; margin: 0 auto; } .personalSection { margin: 0 0 50px; h3 { font-size: @normal; } p { padding: 0 20px; } } /****************/ /* index blog */ /****************/ .blogSection { display: -webkit-flex; display: flex; margin-bottom: 25px; padding-bottom: 75px; -webkit-flex-wrap: wrap; flex-wrap: wrap; align-items: flex-start; border-bottom: 1px solid #ccc; section { margin: 25px 2.5%; display: block; width: 20%; } } .blogElmBody { display: -webkit-flex; display: flex; } h3.moviesTitle, h3.postTitle { font-size: @extraLarge; position: relative; //padding: 0 0 0 35px; font-size: 16px; } h3.postTitle { margin-top: 0 !important; } h3.postTitle::before { position: absolute; top: 0; left: 0; width: 28px; height: 23px; content: ''; //background-image: url('../img/index/blogTitleIcon.png'); background-repeat: no-repeat; background-position: 0 0; background-size: 100%; } .postPhoto, .postText { -webkit-flex: 1; flex: 1; } .postPhoto { img { width: 100%; height: auto; } } .postDate { font-size: @extraSmall; margin-bottom: 5px !important; } .postText { font-size: @small; padding: 10px; } .interpolation { background-image: url('../img/common/footerBack.png'); background-repeat: repeat; } p.termName a { display: inline-block; border: 1px solid #ccc; padding: 5px; line-height: 1; margin: 5px 0 0; } /**********/ /* movies */ /**********/ .blogArchiveImg, .moviesGif, .moviesGif_mock { overflow: hidden; width: 100%; height: auto; figure { overflow: hidden; display: block; position: relative; } img:hover { opacity: 0.5; } img { width: 100%; height: auto; -webkit-transition: 0.3s ease-in-out; transition: 0.3s ease-in-out; -webkit-transform: scale(1); transform: scale(1); } } .moviesGif, .moviesGif_mock { figure::before { border-top: 13px solid @white; content: ''; position: absolute; left: 0; top: 0; z-index: 99; width: 100%; } figure::after { border-bottom: 13px solid @white; content: ''; position: absolute; left: 0; bottom: 0; width: 100%; } } h3.moviesTitle::before { position: absolute; top: 0; left: 0; width: 23px; height: 23px; content: ''; //background-image: url('../img/index/movieTitleIcon.png'); background-repeat: no-repeat; background-position: 0 0; background-size: 100%; } /**********/ /* footer */ /**********/ #footerWrapper { width: 100%; height: 500px; margin: 50px 0 0; text-align: center; background-image: url('../img/common/footerBack.png'); background-repeat: repeat; } #footerMenuContent { .defaultCenter(); } .footerMenu { text-align: center; ul { display: inline-block; width: auto; height: auto; padding: 0 !important; text-align: center; li { line-height: 50px !important; float: left; height: 50px !important; margin: 0 20px; a { font-size: @normal; color: @black; } } } } .menuBorder { border-top: 1px solid @darkGray; border-bottom: 1px solid @darkGray; line-height: 1; } #footerLogo { width: 150px; margin: 50px auto; img { width: 60%; height: auto; } } #modalBack, #smNavBack { position: fixed; z-index: -999; top: 0; right: 0; bottom: 0; left: 0; display: none; overflow: auto; /* flex-direction: column; */ width: 100%; height: 100%; } #modalBody { box-sizing: content-box !important; p { margin: 0 0 20px; iframe { display: block; width: 650px; } } } #modalWrapper { display: none; width: 650px; height: 80%; margin: auto; padding: 80px 150px; overflow-y: auto; border: 1px solid #ccc; background-color: @white; box-sizing: content-box !important; } .close-button { height: 50px; width: 50px; position: relative; box-sizing: border-box; line-height: 50px; display: inline-block; border: none; background: none; } .close-button:after, .close-button:before { @width: 50px; @height: 8px; transform: rotate(-45deg); content: ''; position: absolute; top: 50%; left: 50%; margin-top: -@height/2; margin-left: -@width/2; display: block; height: @height; width: @width; background-color: #000; transition: all 0.25s ease-out; } .close-button:after { transform: rotate(-135deg); } .close-button:hover:after, .close-button:hover:before { transform: rotate(0deg); } h4#modalTitle { font-weight: bold; } .tubeContent { padding: 10px; background-image: url('../img/common/footerBack.png'); background-repeat: repeat; width: 650px; } #loading { position: fixed; top: 50%; left: 50%; margin-left: -35px; margin-top: -35px; width: 70px; height: 70px; z-index: 99999; background-size: 70px; background-position: center center; background-repeat: no-repeat; color: @white; img { width: 70px; height: 70px; } } /**********/ /* about */ /**********/ #pageDescription { background-color: #eee; text-align: center; padding: 6px 0; margin-bottom: 47px; font-size: @small; } #about_left { width: 50%; padding: 5%; text-align: center; img { width: 100%; } } #about_right { width: 50%; padding: 5%; section { display: block; margin-bottom: 55px; } } #about_left h3, #about_right h3 { .googleFont(); padding-left: 15px; } #about_right h3 { position: relative; line-height: 50px; margin-top: 0 !important; } #about_right h3::before, .sideBarSection h3::before { content: ''; width: 50px; height: 50px; background-image: url("../img/common/footerBack.png"); background-repeat: repeat; position: absolute; left: 0; } #aboutTable, #business { table-layout: auto; border-collapse: separate; border-spacing: 20px 25px; margin: -10px auto 0; td, th { vertical-align: middle; } th { padding-right: 10px; } } /**********/ /* links */ /**********/ ul#linkList { width: 100%; padding: 0 !important; text-align: center; li { margin: 50px 0; h3 { padding: 0 !important; margin: 0 !important; } } } /****************/ /* single Blog */ /****************/ #wholeBlogWrapper { width: 98%; margin: 0 auto 50px; } #singleLeftWrapper_left { width: 63%; margin-top: 22px; img { width: 100%; height: auto; } } #blogConteHeader { margin-bottom: 25px; } #singleRightWrapper_right { width: 30%; } p#blogDate_left { background-color: @black; color: @white; width: 55px; height: 55px; padding: 5px; font-size: @small; text-align: center; line-height: 1; padding-top: 15px; } #blogTitle_right { min-height: 55px; text-align: left; padding-left: 10px; width: 705px; h2 { margin: 0; } p { color: @darkGray; height: 22px; margin: 0 !important; padding: 0; position: relative; } } #singleBlogConte { border-bottom: 1px solid @black; padding-bottom: 30px; margin-bottom: 30px; } #blogCategory { font-size: @small; color: @gray; } #postNavWrapper { position: relative; height: 50px; margin-bottom: 100px; } #nextPost, #previousPost { position: absolute; top: 0; a { line-height: 40px; width: auto; height: 40px; background-size: 40px 40px; background-repeat: no-repeat; display: block; } } #nextPost { right: 0; a { background-image: url('../img/blog/nextPost.png'); background-position: top right; padding-right: 50px; } } #previousPost { left: 0; a { background-image: url('../img/blog/previousPost.png'); background-position: top left; padding-left: 50px; } } #searchArea { height: 30px; margin-bottom: 40px; } #searchform { position: relative; } input.s { width: 320px; position: absolute; top: 0; left: 0; height: 30px; padding-left: 5px; } input.searchsubmit { width: 30px; height: 30px; position: absolute; top: 0; right: 0; } .sideBarSection { margin-bottom: 50px; ul#moviesArchive { padding: 0 !important; li { border-bottom: 1px dotted @darkGray; padding: 20px 0; } } h3 { padding: 0 !important; line-height: 50px; .googleFont(); margin-left: 15px; } h4 { margin: 0 !important; line-height: 1.5; font-size: @small; padding-top: 20px; } p.sidePostCat { font-size: @small; color: @darkGray; margin: 0 !important; } .sidePostText { line-height: 1.5; font-size: @small; margin: 0; } } .sideMoviesGif_left { width: 40%; img.sideMoviesThumb { width: 100%; } } .sideMoviesTitle_right { width: 55%; text-align: left; } /****************************/ /* facebook */ /****************************/ .blogArchiveImg { background-image: url('../img/common/footerBack.png'); background-repeat: repeat; padding: 10px; } figure.fb_pic { width: 100%; height: auto; float: left; overflow: hidden; position: relative; img { width: 100% !important; height: auto !important; /*position: absolute; top: 0; bottom: 0; left: 0; right: 0;*/ } } p.fb_mes { span.fb_created_time { display: inline-block; background-color: @facebookBlue; padding: 10px; font-size: @small; line-height: 1px; color: @white; } span.fb_text { display: block; } } .fbLikes { background-image: url('../img/facebook/likesIcon.png'); background-repeat: no-repeat; background-size: 22px; padding-left: 30px; color: @facebookBlue; } /****************************/ /* contact */ /****************************/ ::-webkit-input-placeholder { color: #ccc; } ::-moz-placeholder { color: #ccc; opacity: 1; } :-ms-input-placeholder { color: #ccc; } #contactWrapper { .wpcf7-response-output, label, p.warning { width: 90%; margin: 0 auto !important; display: block; } input, textarea { width: 100%; padding: 10px; background-color: #eee; border-bottom: none; border-right: none; border-top: 1px solid #ccc; border-left: 1px solid #ccc; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; } input.wpcf7-submit { width: 50%; margin: 30px auto; display: block; border: 1px solid #ccc; background-color: #3b5998; color: white; } } /****************************/ /* side */ /****************************/ #sideProfilePic { width: 30%; } #sideProfileText { width: 70%; table-layout: fixed; border-collapse: separate; border-spacing: 10px 0; margin: -10px auto 0; td, th { word-wrap: break-word; font-size: @extraSmall; } th { width: 30%; vertical-align: top; } } /****************************/ /* Modal menu */ /****************************/ #modalMenu { width: 60%; //height: 70%; //border: 1px solid @darkGray; //border-radius: 10px; margin: 0 auto; position: relative; .verticalMiddle(); background-color: @white; nav { width: 100%; ul { padding: 0; width: 100%; li { margin: 0; height: 60px; text-align: center; width: 100%; a { display: block; width: 100%; height: 60px; line-height: 60px; } } li:nth-child(even) a { background-image: url('../img/common/footerBack.png'); background-repeat: repeat; color: @black; } li:nth-child(odd) a { color: @black; } } } } /****************************/ /* animate css */ /****************************/ .fadingIn { .transformXY(0px,0px); .fading(); opacity: 1 !important; } /* Large desktops and laptops */ @media (min-width: 1200px) {} /* Landscape tablets and medium desktops */ @media (max-width: 1199px) { #loadingWhole { display: none; } #footerMenuContent, #wholeBottomWrapper, #wholeTopWrapper { width: 95%; } #pageHeaderWrapper, #topMenuContent, #topMenuWrapper { width: 100%; } #topMenuWrapper { border-top: none; } #mainSwitchTitle { left: 10px; } #globalMenu, #pageGlobalNavi, #snsBtnArea, #topSnsBtnArea { display: none; } #smNavOpener { width: 50px; height: 50px; position: absolute; top: 0; right: 0; display: block; background-color: @black; border: none; z-index: 99999; } #pageHeaderWrapper { margin: 0; } #blogTitle_right { width: 100%; padding-left: 0; margin: 10px 0; h2 { margin: 5px 0; } } #pageLogoArea { padding: 0 0 0 30px; } } /* Portrait tablets and small desktops */ @media (max-width: 991px) { #wholeTopWrapper { width: 85%; } #pageMainTitle { text-align: center !important; } #pageLogoArea { float: none; text-align: center; padding: 0; img { //width: 30%; } } #aboutTable { td, th { display: block; width: 100%; text-align: left; padding: 0 !important; } } #about_left, #about_right { //float: none !important; //width:100%; } #smNav { position: fixed; top: 0; right: 0; z-index: 999999; } } /* Landscape phones and portrait tablets */ @media (max-width: 767px) { .blogSection { width: 100%; section { width: 45%; margin: 0 2.5% 50px !important; } } #modalWrapper { width: 84%; padding: 3%; } #modalHeader, .embededCode, .tubeContent { width: 90%; margin: 30px auto !important; } .embededCode { opacity: 0; .fading(); iframe { width: 100% !important; } } [class*="_left"], [class*="_right"], [id*="_left"], [id*="_right"] { float: none; width: 100% !important; } .except { [class*="_left"], [id*="_left"] { float: left; width: 45% !important; } } .except { [class*="_right"], [id*="_right"] { float: right; width: 50% !important; } } .sideBarSection { margin: 130px 0; } p#blogDate_left { height: 40px; width: auto !important; background: none; color: @darkGray; } #middlePhoto, #searchArea { display: none; } #postNavWrapper { height: auto; } #nextPost, #previousPost { position: relative; } #nextPost { a { text-align: right; } } #worksWrapper { margin-top: 50px; } #aboutTable { td, th { text-align: center !important; } } #bottomConteWrapper { display: block !important; width: 85%; } .bottomConteChildWrapper { width: 100%; margin: 0 0 30px; } } /* Portrait phones and smaller */ @media (max-width: 480px) { [class^='flexSection'] { display: block; } .footerMenu { height: 50px; nav { display: none; } } #pageLogoArea { margin-top: 43px; } }