|
|
/* * # Semantic Headers - Flat * http://github.com/quirkyinc/semantic * * * Copyright 2013 Contributors * Released under the MIT license * http://opensource.org/licenses/MIT * * Released: April 29 2013 */ /******************************* Header *******************************/ /* Standard */ .ui.header { border: none; margin: 1em 0em 1rem; padding: 0em; font-size: 1.33em; font-weight: bold; line-height: 1.33; } .ui.header:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .ui.header .ui.sub.header, .ui.header .sub.header { font-size: 1rem; font-weight: normal; margin: 0em; padding: 0em; line-height: 1.2; color: rgba(0, 0, 0, 0.5); } .ui.header .content { display: inline-block; vertical-align: middle; } .ui.header .icon { margin-right: 0.5em; } /* Positioning */ .ui.header:first-child { margin-top: 0em; } .ui.header:last-child { margin-bottom: 0em; } .ui.header + p { margin-top: 0em; } /*-------------- Page Heading ---------------*/ h1.ui.header { min-height: 1rem; line-height: 1.33; font-size: 2rem; } h2.ui.header { line-height: 1.33; font-size: 1.75rem; } h3.ui.header { line-height: 1.33; font-size: 1.33rem; } h4.ui.header { line-height: 1.33; font-size: 1.1rem; } h5.ui.header { line-height: 1.2; font-size: 1rem; } /*-------------- Content Heading ---------------*/ .ui.huge.header { min-height: 1em; font-size: 2em; } .ui.large.header { font-size: 1.75em; } .ui.medium.header { font-size: 1.33em; } .ui.small.header { font-size: 1.1em; } .ui.tiny.header { font-size: 1em; } /******************************* States *******************************/ .ui.disabled.header { opacity: 0.5; } /******************************* Variations *******************************/ /*------------------- Colors --------------------*/ .ui.blue.header { color: #6ECFF5 !important; } .ui.black.header { color: #5C6166 !important; } .ui.green.header { color: #A1CF64 !important; } .ui.red.header { color: #EF4D6D !important; } .ui.purple.header { color: #564F8A !important; } .ui.teal.header { color: #00B5AD !important; } .ui.blue.dividing.header { border-bottom: 3px solid #6ECFF5; } .ui.black.dividing.header { border-bottom: 3px solid #5C6166; } .ui.green.dividing.header { border-bottom: 3px solid #A1CF64; } .ui.red.dividing.header { border-bottom: 3px solid #EF4D6D; } .ui.purple.dividing.header { border-bottom: 3px solid #564F8A; } .ui.teal.dividing.header { border-bottom: 3px solid #00B5AD; } /*------------------- Inverted --------------------*/ .ui.inverted.header { color: #FFFFFF; } .ui.inverted.header .sub.header { color: rgba(255, 255, 255, 0.85); } /*------------------- Inverted Colors --------------------*/ .ui.inverted.black.header { background-color: #5C6166 !important; color: #FFFFFF !important; } .ui.inverted.blue.header { background-color: #6ECFF5 !important; color: #FFFFFF !important; } .ui.inverted.green.header { background-color: #A1CF64 !important; color: #FFFFFF !important; } .ui.inverted.red.header { background-color: #EF4D6D !important; color: #FFFFFF !important; } .ui.inverted.purple.header { background-color: #564F8A !important; color: #FFFFFF !important; } .ui.inverted.teal.header { background-color: #00B5AD !important; color: #FFFFFF !important; } .ui.inverted.block.header { border-bottom: none; } /*------------------- Aligned --------------------*/ .ui.left.aligned.header { text-align: left; } .ui.right.aligned.header { text-align: right; } .ui.center.aligned.header { text-align: center; } /*------------------- Floated --------------------*/ .ui.floated.header, .ui.left.floated.header { float: left; margin-top: 0em; margin-right: 0.5em; } .ui.right.floated.header { float: right; margin-top: 0em; margin-left: 0.5em; } /*------------------- Fittted --------------------*/ .ui.fitted.header { padding: 0em; } /*------------------- Dividing --------------------*/ .ui.dividing.header { padding-bottom: 0.2rem; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } .ui.dividing.header .icon { margin-bottom: 0.2em; } /*------------------- Block --------------------*/ .ui.block.header { background-color: #F5F5F5; padding: 0.5em 1em; } /*------------------- Attached --------------------*/ .ui.attached.header { padding: 0.5em 1rem; -webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1); box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1); } .ui.top.attached.header { margin-bottom: 0em; -webkit-border-radius: 0.3125em 0.3125em 0em 0em; -moz-border-radius: 0.3125em 0.3125em 0em 0em; border-radius: 0.3125em 0.3125em 0em 0em; } .ui.bottom.attached.header { margin-top: 0em; -webkit-border-radius: 0em 0em 0.3125em 0.3125em; -moz-border-radius: 0em 0em 0.3125em 0.3125em; border-radius: 0em 0em 0.3125em 0.3125em; } /*------------------- Icon --------------------*/ .ui.icon.header { display: block; margin-left: auto; margin-right: auto; text-align: center; } .ui.icon.header .icon { float: none; display: block; font-size: 4em; margin: 0em auto 0.2em; } .ui.icon.header .circular.icon, .ui.icon.header .square.icon { font-size: 2em; } .ui.block.icon.header .icon { margin-bottom: 0em; } .ui.icon.header.aligned { display: block; }
|