pyc-website

main website for pyc inc.

git clone https://9o.is/git/pyc-website.git

custom.less

(4730B)


      1 // Add anything custm here -- mixins, variable overrides
      2 // by adding things here instead  of overriding existing .LESS files, it makes merging changes on product updates easier
      3 
      4 //@import url(http://fonts.googleapis.com/css?family=Cinzel:900);
      5 @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400);
      6 
      7 // Optima for p tags in base font size!
      8 @font-face {
      9     font-family: 'Optima';
     10     src: url('@{icon-font-path}/optima-webfont.eot');
     11     src: url('@{icon-font-path}/optima-webfont.eot?#iefix') format('embedded-opentype'),
     12          url('@{icon-font-path}/optima-webfont.woff') format('woff'),
     13          url('@{icon-font-path}/optima-webfont.ttf') format('truetype');
     14     font-weight: normal;
     15     font-style: normal;
     16 }
     17 
     18 
     19 .background-size(@size) {
     20         -webkit-background-size: @size;
     21         -moz-background-size: @size;
     22         -o-background-size: @size;
     23         background-size: @size;
     24 }
     25 
     26 .column-count(@count) {
     27 	column-count: @count;
     28 	-moz-column-count: @count;
     29 	-webkit-column-count: @count;
     30 }
     31 
     32 .column-rule(@rule) {
     33 	column-rule: @rule;
     34 	-moz-column-rule: @rule;
     35 	-webkit-column-rule: @rule;
     36 }
     37 
     38 .column-span(@span) {
     39 	column-span: @span;
     40 	-webkit-column-span: @span;
     41 }
     42 
     43 .multi-column {
     44 	@media (min-width: @screen-sm){
     45     	> p {
     46 			.column-count(2);
     47 			br { .column-span(all); }
     48 		}
     49   	}
     50 }
     51 
     52 .semibig-text {
     53 	font-size: @font-size-h1 * 1.5;
     54 }
     55 
     56 .big-text {
     57 	font-size: @font-size-h1 * 2;
     58     font-weight: 900;
     59 }
     60 
     61 .no-gutter {
     62   overflow: hidden;
     63   
     64   div[class^="col-"] {
     65     padding-left: 0;
     66     padding-right: 0;
     67   }
     68   
     69   @media (min-width: @screen-sm){
     70     .row {
     71         margin-right: 0;
     72         margin-left: 0;
     73     }
     74   }
     75 }
     76 
     77 .offset-0 {
     78     padding-left: 0;
     79     padding-right: 0;
     80 }
     81 
     82 .bg-white {
     83 	background-color: @white;
     84 }
     85 
     86 .bg-primary {
     87     background-color: @brand-primary !important;
     88 }
     89 
     90 .bg-primary-light {
     91     background-color: @brand-primary-light !important;
     92 }
     93 
     94 .bg-primary-gradient {
     95 	.bg-primary();
     96 	#gradient > .radial(lighten(@brand-primary, 5%), @brand-primary)
     97 }
     98 
     99 .bg-secondary {
    100     background-color: @brand-secondary;
    101 }
    102 
    103 .bg-secondary-gradient {
    104 	.bg-secondary();
    105 	#gradient > .radial(lighten(@brand-secondary, 5%), @brand-secondary)
    106 }
    107 
    108 .text-primary {
    109 	color: @brand-primary;
    110 	a {
    111 		color: @brand-primary;
    112 		&:hover {
    113 			color: lighten(@brand-primary, 5%);
    114 		}
    115 	}
    116 }
    117 
    118 .text-secondary {
    119 	color: @brand-secondary;
    120 	a {
    121 		color: @brand-secondary;
    122 		&:hover {
    123 			color: lighten(@brand-secondary, 5%);
    124 		}
    125 	}
    126 }
    127 
    128 .text-white {
    129 	color: @white !important;
    130 }
    131 
    132 .text-warning {
    133 	color: @brand-warning !important;
    134 }
    135 
    136 .text-gray-midlight {
    137 	color: @gray-mid-light !important;
    138 }
    139 
    140 .text-bitcoin {
    141 	color: @bitcoin-color;
    142 }
    143 
    144 .bg-tertiary {
    145 	background-color: @brand-tertiary !important;
    146 }
    147 
    148 .bg-warning {
    149 	background-color: @brand-warning !important;
    150 }
    151 
    152 .bg-danger {
    153 	background-color: @brand-danger !important;
    154 }
    155 
    156 .bg-success {
    157 	background-color: @brand-success !important;
    158 }
    159 
    160 .pagination-centered {
    161 	text-align: center;
    162 }
    163 
    164 .padding-0 {
    165 	padding: 0 !important;
    166 }
    167 
    168 .padding-bottom-0 {
    169 	padding-bottom: 0;
    170 }
    171 
    172 .padding-top-20 {
    173 	padding-top: 20px !important;
    174 }
    175 
    176 .padding-bottom-20 {
    177 	padding-bottom: 20px;
    178 }
    179 .padding-20 {
    180 	padding-top: 20px;
    181 	padding-bottom: 20px;
    182 }
    183 
    184 .padding-20-sides {
    185 	padding-left: 20px;
    186 	padding-right: 20px;
    187 }
    188 
    189 .padding-20-right {
    190 	padding-right: 20px;
    191 }
    192 
    193 .margin-20 {
    194 	margin: 20px !important;
    195 }
    196 
    197 .margin-top-20 {
    198     margin-top: 20px;
    199 }
    200 
    201 .margin-bottom-20 {
    202     margin-bottom: 20px;
    203 }
    204 
    205 .margin-10 {
    206 	margin: 10px !important;
    207 }
    208 
    209 .margin-bottom-10 {
    210     margin-bottom: 10px;
    211 }
    212 
    213 //bold headers
    214 h1,h2,h3,h4,h5,h6,h7 {
    215   &.bold {
    216     font-weight: @headings-font-weight + 100;
    217   }
    218 }
    219 
    220 .break-word {
    221   word-wrap:break-word;
    222   -ms-word-break: break-all;
    223   word-break: break-all;
    224   word-break: break-word;
    225   -webkit-hyphens: auto;
    226   -moz-hyphens: auto;
    227   hyphens: auto;
    228 }
    229 
    230 .hidden-xxs {
    231 	@media(max-width: @screen-xxs-max) {
    232 		.hidden();
    233 	}
    234 }
    235 
    236 .nounderline {
    237   text-decoration: none !important;
    238 }
    239 
    240 .boxshadow {
    241 	.box-shadow(0 10px 15px @gray-dark);	
    242 }
    243 
    244 .visible-xxs {
    245 	@media(max-width: @screen-xxs-max) {
    246 		.show();
    247 	}
    248 	
    249 	@media(min-width: @screen-xs-min) {
    250 		.hidden();
    251 	}
    252 }
    253 
    254 table.padding-align {
    255 	tr > td:first {
    256 		padding-right: 25px;
    257 	}
    258 }
    259 
    260 
    261 /*************************************************
    262  * Collapse to full width when xs-device is found
    263  * ex. class="col-xs-6 xxs-collapse col-sm-6" 
    264  *************************************************/
    265 .xxs-collapse {
    266 	@media (max-width: @screen-xxs-max) {
    267 		width: 100%;
    268 	}
    269 }