diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-14 21:41:44 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-14 21:41:44 -0300 |
commit | beaab428eb8b6e19ca6d413249f6307100d9b853 (patch) | |
tree | b7c2b617c19ee5e1b133e8029b80bb52c1bb8ec8 /views/default/css/elements/typography.php | |
download | elgg-beaab428eb8b6e19ca6d413249f6307100d9b853.tar.gz elgg-beaab428eb8b6e19ca6d413249f6307100d9b853.tar.bz2 |
Squashed 'mod/saravea_theme/' content from commit daab1e0
git-subtree-dir: mod/saravea_theme
git-subtree-split: daab1e0a1d564efeb637ecb2ce27ade44f45ac64
Diffstat (limited to 'views/default/css/elements/typography.php')
-rw-r--r-- | views/default/css/elements/typography.php | 192 |
1 files changed, 192 insertions, 0 deletions
diff --git a/views/default/css/elements/typography.php b/views/default/css/elements/typography.php new file mode 100644 index 000000000..3d2a16900 --- /dev/null +++ b/views/default/css/elements/typography.php @@ -0,0 +1,192 @@ +<?php +/** + * CSS typography + * + * @package Elgg.Core + * @subpackage UI + */ +?> + +/* *************************************** + Typography +*************************************** */ +@font-face { + font-family: "Open Sans"; + font-style: normal; + font-weight: 400; + src: url("<?php echo elgg_get_site_url(); ?>/mod/saravea_theme/vendors/opensans/OpenSans-Regular.ttf"); +} + +@font-face { + font-family: "Open Sans"; + font-style: bold; + src: url("<?php echo elgg_get_site_url(); ?>/mod/saravea_theme/vendors/opensans/OpenSans-Semibold.ttf"); + font-weight: 600; +} + +@font-face { + font-family: "Open Sans"; + font-style: italic; + src: url("<?php echo elgg_get_site_url(); ?>/mod/saravea_theme/vendors/opensans/OpenSans-Italic.ttf"); + font-weight: 400; +} + + +body { + font-size: 72%; + line-height: 1.4em; + font-family: "Open Sans", Arial, Tahoma, Verdana, sans-serif; + color: #333333; +} + +a { + color: #ff4c12; +} + +a:hover, +a.selected { <?php //@todo remove .selected ?> + color: #555555; + text-decoration: underline; +} + +p { + margin-bottom: 15px; +} + +p:last-child { + margin-bottom: 0; +} + +pre, code { + font-family: Monaco, "Courier New", Courier, monospace; + font-size: 12px; + padding:2px; + + background-color:#333; + color:#eee; + overflow:auto; + /*box-shadow: 1px 1px 1px #333;*/ + + overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */ + + white-space: pre-wrap; + word-wrap: break-word; /* IE 5.5-7 */ + +} + +pre { + padding:3px 15px; + margin:0px 0 15px 0; + line-height:1.3em; +} + +code { + padding:2px 3px; +} + +.elgg-monospace { + font-family: Monaco, "Courier New", Courier, monospace; +} + +blockquote { + + line-height: 1.3em; + padding:10px 20px 10px 10px; + margin:5px 5px 15px 20px; + background: #E6D37E url(<?php echo elgg_get_site_url(); ?>mod/saravea_theme/_graphics/quotes.png) no-repeat right; + border:none; + box-shadow: 0px 1px 3px #666; + + + -webkit-border-radius: 2px; + -moz-border-radius: 2px; + border-radius: 2px; +} + +h1, h2, h3, h4, h5, h6 { + color: #333; + font-weight: bold; +} + +h1 { font-size: 2em; visibility: hidden;} +h2 { font-size: 1.8em; line-height: 1.1em; padding-bottom:5px} +h3 { font-size: 1.2em; } +h4 { font-size: 1.0em; } +h5 { font-size: 0.9em; } +h6 { font-size: 0.8em; } + +.elgg-heading-site, .elgg-heading-site:hover { + font-size: 2em; + line-height: 1.4em; + color: white; + font-style: italic; + font-family: Georgia, times, serif; + text-shadow: 1px 2px 4px #333333; + text-decoration: none; +} + +.elgg-heading-main { + float: left; + max-width: 530px; + margin-right: 10px; + +} +.elgg-heading-basic { + color: #616068; + font-size: 1.2em; + font-weight: bold; +} + +.elgg-subtext { + color: #666666; + font-size: 85%; + line-height: 1.2em; + font-style: italic; +} + +.elgg-text-help { + display: block; + font-size: 85%; + font-style: italic; + padding: 10px 0px 10px 0px; +} + +.elgg-quiet { + color: #666; +} + +.elgg-loud { + color: #d86c2c; +} + +/* *************************************** + USER INPUT DISPLAY RESET +*************************************** */ +.elgg-output { + margin-top: 10px; + line-height: 1.7em; +} + +.elgg-output dt { font-weight: bold } +.elgg-output dd { margin: 0 0 1em 1em } + +.elgg-output ul, .elgg-output ol { + margin: 0 1.5em 1.5em 0; + padding-left: 1.5em; +} +.elgg-output ul { + list-style-type: disc; +} +.elgg-output ol { + list-style-type: decimal; +} +.elgg-output table { + border: 1px solid #ccc; +} +.elgg-output table td { + border: 1px solid #ccc; + padding: 3px 5px; +} +.elgg-output img { + max-width: 100%; +} |