Commit d1dffdc8 authored by Pietro Albini's avatar Pietro Albini

Move the common theme files to static

parent d6997d23
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
DIRS_JS = js themes DIRS_JS = js themes
DIRS_CSS = themes fonts DIRS_CSS = themes fonts
DIRS_FONTS = fonts DIRS_FONTS = fonts
DIRS_IMAGES = themes
DIR_BUILD = build DIR_BUILD = build
...@@ -38,12 +39,14 @@ css = $(patsubst %.css,$(DIR_BUILD)/%.min.css,$(shell find $(DIRS_CSS) -type f - ...@@ -38,12 +39,14 @@ css = $(patsubst %.css,$(DIR_BUILD)/%.min.css,$(shell find $(DIRS_CSS) -type f -
fonts_ttf = $(patsubst %,$(DIR_BUILD)/%,$(shell find $(DIRS_FONTS) -type f -name "*.ttf")) fonts_ttf = $(patsubst %,$(DIR_BUILD)/%,$(shell find $(DIRS_FONTS) -type f -name "*.ttf"))
fonts_eot = $(patsubst %.ttf,%.eot,$(fonts_ttf)) fonts_eot = $(patsubst %.ttf,%.eot,$(fonts_ttf))
fonts_woff = $(patsubst %.ttf,%.woff,$(fonts_ttf)) fonts_woff = $(patsubst %.ttf,%.woff,$(fonts_ttf))
images_png = $(patsubst %,$(DIR_BUILD)/%,$(shell find $(DIRS_IMAGES) -type f -name "*.png"))
images_jpg = $(patsubst %,$(DIR_BUILD)/%,$(shell find $(DIRS_IMAGES) -type f -name "*.jpg"))
.PHONY: build clean .PHONY: build clean
build: $(js) $(css) $(fonts_ttf) $(fonts_eot) $(fonts_woff) build: $(js) $(css) $(fonts_ttf) $(fonts_eot) $(fonts_woff) $(images_png) $(images_jpg)
clean: clean:
@rm -rf $(DIR_BUILD) @rm -rf $(DIR_BUILD)
...@@ -69,3 +72,11 @@ $(DIR_BUILD)/%.eot: %.ttf ...@@ -69,3 +72,11 @@ $(DIR_BUILD)/%.eot: %.ttf
$(DIR_BUILD)/%.woff: %.ttf $(DIR_BUILD)/%.woff: %.ttf
@mkdir -p $(dir $@) @mkdir -p $(dir $@)
@$(FONT_CONVERTER) $< $@ @$(FONT_CONVERTER) $< $@
$(DIR_BUILD)/%.png: %.png
@mkdir -p $(dir $@)
@cp $< $@
$(DIR_BUILD)/%.jpg: %.jpg
@mkdir -p $(dir $@)
@cp $< $@
/* common.css
Copyright © 2011 Ubuntu-it - Leo Iannacone <l3on@ubuntu.com>
*/
html {
color: #333;
font-family: "Ubuntu", sans-serif !important;
background: url("images/dotted.png") repeat scroll 0 0 #F5F6F7;
font-size: 13px;
line-height: 1.25em;
}
body {
background: url("images/dotted.png") repeat scroll 0 0 #F5F6F7;
min-width: 985px;
margin: 0 1px 0 0;
}
div, p {
}
tbody {
border-top: medium none;
}
a, a:link, a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
color: #222222;
font-weight: normal;
margin-bottom: 20px;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
}
h1 {
font-size: 36px;
line-height: 40px;
margin: 24px 0 32px;
padding: 0;
}
h2, #center h2 a {
font-size: 24px;
line-height: 28px;
margin: 0 0 8px;
padding: 0;
}
h3 {
font-size: 16px;
line-height: 20px;
padding: 0;
}
h4, h5, h6 {
font-size: 12px;
line-height: 16px;
margin: 0;
padding: 0;
}
code, blockquote {
font-family: courier,monospace;
}
pre {
background-color: #FAFAFA;
border: 1px dotted #DDDDDD;
color: #111111;
font-family: courier,monospace;
padding: 4pt;
white-space: pre-wrap;
word-wrap: break-word;
}
p {
/*
line-height: 16px;
margin: 4px 0;
padding: 0;
*/
}
a, a:link, a:visited {
color: #DD4814;
}
a, a:link, a:visited {
text-decoration: none;
}
ul.links {
margin: 0;
padding: 0;
}
ul.links li {
display: inline;
list-style-type: none;
}
.commercial {
color: #772953 !important;
}
table.sticky-table {
width: 100%;
}
.alignright, .rteright {
float: right;
text-align: right;
}
.alignleft, .rteleft {
float: left;
text-align: left;
}
.aligncenter, .rtecenter {
margin-left: auto;
margin-right: auto;
display: block;
text-align: center;
}
.centered {
margin-left: auto;
margin-right: auto;
}
.clear {
clear: both;
}
.curved-top {
border-radius: 4px 4px 0 0;
-webkit-border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
-khtml-border-radius: 4px 4px 0 0;
}
.curved-bottom {
border-radius: 0 0 4px 4px;
-webkit-border-radius: 0 0 4px 4px;
-moz-border-radius: 0 0 4px 4px;
-khtml-border-radius: 0 0 4px 4px;
}
.curved-both {
border-radius: 4px 4px 4px 4px;
-webkit-border-radius: 4px 4px 4px 4px;
-moz-border-radius: 4px 4px 4px 4px;
-khtml-border-radius: 4px 4px 4px 4px;
}
.shadowed {
box-shadow: 0 1px 3px #989898;
-webkit-box-shadow: 0 1px 3px #989898;
-moz-box-shadow: 0 1px 3px #989898;
-khtml-box-shadow: 0 1px 3px #989898;
}
.no-padding {
padding: 0 !important;
}
.quote-source {
font-size: 10px;
}
#center h2 {
margin: 18px 0 10px;
}
table#attachments {
display: none;
}
#fixed-header {
height: 120px;
}
.container {
width: 985px;
background: transparent;
margin: 0 auto;
padding: 0;
}
#header {
background: url("images/header_b.png") repeat-x scroll left top #DD4814;
height: 64px;
margin: 0 2px;
text-shadow: 0 1px black;
min-width: 985px;
padding: 0 5px;
position: relative;
}
#header .container {
background: url("images/topnav_divider.png") no-repeat scroll left top transparent !important;
height: 100%;
padding-left: 2px;
}
#header li, #header li.last {
border: 0 none;
}
#header li {
background: url("images/topnav_divider.png") no-repeat scroll right top transparent !important;
padding-right: 2px;
float: left;
margin: 0;
padding-right: 2px;
}
#header li a {
background: url("images/header_b.png") repeat-x scroll left top #DD4814;
height: 64px;
line-height: 64px;
padding: 0 7px 0 5px;
color: #FFFFFF;
text-shadow: 1px 1px 1px #333333;
float: left;
}
#header li.active-trail a, #header li a.active, #header li.active a, #header li a:hover {
background: url("images/header_b_active.png") repeat-x scroll left top #B83A10 !important;
text-decoration: none;
}
#logo {
float:right;
color: white;
text-shadow: none;
}
#logo > span.description {
float: right;
font-size: 12px;
opacity: 0.8;
line-height: 24px;
}
#logo > span.title {
font-size: 30px;
display: block;
margin-top: 23px;
color:white;
text-align:right;
}
#logo > span.suffix {
/* color: black;
opacity: 0.5; Does not work for every browser*/
color: #6F240A;
font-size: 20px;
margin-right: 1px;
display:none;
}
#logo a:hover {
text-decoration: none;
}
#header .buttons {
cursor: pointer;
float: left;
margin-left: 5px;
margin-top: 5px;
}
#header .buttons #accessibility {
background: url("images/accessibility.png") repeat scroll 0 0 transparent;
height: 24px;
width: 24px;
}
#header .buttons #accessibility:hover {
background-position: center bottom;
}
#header .buttons #accessibility:active {
background-position: 24px 50%;
}
#header #ubuntu-it-sites {
float: right;
font-size: 10.5px;
}
#header #ubuntu-it-sites a {
color: #FFFFFF;
padding: 1px 6px 2px;
text-shadow: none;
}
#header #ubuntu-it-sites a:hover {
text-shadow: 1px 1px 1px #333333;
text-decoration: none;
}
#header #ubuntu-it-sites a.active {
background: url(images/header-uit-bk.png) repeat;
border: 1px solid #6F202A;
background: rgba(0, 0, 0, 0.25);
border: 1px solid rgba(0, 0, 0, 0.1);
text-shadow: 0 1px 1px #333;
border-radius: 0 0 4px 4px;
}
#subheader .container-inside {
background: url("images/header-shadow.png") repeat-x scroll center top #F7F7F7;
border-radius: 0 0 8px 8px;
-webkit-border-radius: 0 0 8px 8px;
-moz-border-radius: 0 0 8px 8px;
height: 39px;
margin: 0 auto;
position: relative;
width: 96%;
background-color: #F7F7F7;
box-shadow: 0 1px 1px #DFDFDF;
-webkit-box-shadow: 0 1px 1px #DFDFDF;
-moz-box-shadow: 0 1px 1px #DFDFDF;
}
#subheader .links {
display: block;
float: left;
padding: 0 10px;
}
#subheader .links a, #subheader .links li {
clear: none;
color: #333333;
display: block;
float: left;
text-shadow: none;
width: auto;
line-height: 40px;
margin: 0;
padding: 0 15px;
text-decoration: none;
}
#subheader .links a:focus, #subheader .links a:hover, #subheader .links a:active, #subheader .links li.active a {
background: url("images/header-shadow.png") repeat-x scroll center top #F2F2F2;
border-bottom: medium solid #666666;
color: #DD4814;
}
#subheader .links a:hover {
border-color: #DD4814;
}
#footer .container * {
color: #666666;
font-size: 10px;
text-align: center;
text-shadow: 0 1px 0 #FFFFFF;
}
#search-box div {
padding-left: 0 !important;
padding-right: 0 !important;
}
#center .sidebar {
}
#center.sidebar-left {
}
#content, #footer, #subheader {
background: none repeat scroll 0 0 transparent;
}
#sidebar-left {
margin-top: 15px;
}
.cke_show_borders {
background: none repeat scroll 0 0 #FFFFFF;
}
h2 .pane-title {
display: none;
}
#content-top, div.box-top-added {
background: url("images/box-bottom-top.png") no-repeat scroll center top transparent;
height: 10px;
padding: 0;
width: 100%;
}
#content .container, div.box-content {
background: url("images/box-content.png") repeat-y scroll center top transparent;
}
#content .container {
margin-top: 0;
padding-top: 0;
}
#content {
line-height: 1.4em;
/*overflow: hidden;*/
clear: both;
}
#content-bottom, div.box-bottom-added {
background: url("images/box-bottom-top.png") no-repeat scroll center bottom transparent;
height: 12px;
margin-bottom: 5px;
padding: 0;
width: 100%;
}
.box-content .panels-flexible-row-inside {
padding: 0 18px;
}
.pane-content h3 a {
background: url("images/H3_arrow.png") no-repeat scroll right 3px transparent;
display: inline-block;
padding-right: 14px;
text-decoration: none;
text-shadow: none;
}
.pane-content h3 a:hover {
text-decoration: underline;
}
.item-list .pager {
margin: 30px 0 0;
}
.item-list .pager li {
padding: 0;
}
div.slideshow {
overflow: hidden;
}
.pane-presentation {
margin-bottom: 20px;
width: 50%;
}
.node {
padding: 0 16px;
}
.sidebar .block {
background: none repeat scroll 0 0 transparent;
border-radius: 0 0 0 0;
box-shadow: none;
}
#content .block h2 {
border-bottom: 1px dotted #999999;
color: #3D273A;
}
#content .menu li a {
color: #111111;
}
#content .menu li.fake-leaf a {
border-bottom: 1px dotted #772953;
}
#content .menu li a:hover {
color: #772953 !important;
}
#content .menu li a.active {
color: #DD4814 !important;
font-weight: bold;
}
#content .menu li a.active:hover {
}
.no-shadow {
text-shadow:none;
color: #333;
}
.smileys-box .smileys span {
height: auto;
width: 26px;
}
.page-description {
background: none repeat scroll 0 0 #F7F7F7;
border: 1px solid #F0F0F0;
padding: 10px 10px 12px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
font-size: 16px;
line-height: 22px;
margin-bottom: 22px;
}
.page-description-img {
float: right;
}
/* End generic style */
/* Start wiki specific style */
h1, h2, h3, h4, h5, h6
{
margin: 1.5em 0 0 0;
padding: 2px 0;
font-weight: normal;
line-height: 1.2em;
text-shadow:0 1px 3px rgba(0, 0, 0, 0.25);
}
h1
{
font-size: 1.6em;
}
h2
{
font-size: 1.3em;
}
h3 {font-size: 1.1em;}
h4, h5 {font-size: 1em;}
a {
text-decoration:none;
}
a:visited {
/* color:#BD0901;*/
}
a.nonexistent, a.badinterwiki {
color:#aaa;
}
a:hover {
/* color:#800000;*/
text-decoration:underline;
}
#content > .container > div {
margin: 0 20px;
padding: 10px 0;
}
#pagelocation {
font-size: 2.4em;
line-height: 1.8em;
font-weight: lighter;
margin-top: 2px;
}
#pagelocation li {
display: inline;
margin: 0;
}
/* This one shows a separator in the page location */
#pagelocation li:after {
content: " > ";
color: #aaa;
}
/* This one erase the last separator */
#pagelocation li:last-child:after {
content: "";
}
#page {
margin-top: 40px;
}
#search form {
clear: both;
float: right;
margin-top: 16px;
}
#edit-extra {
margin: 10px 0;
}
#edit-extra * , ul#navibar * {
font-size: 10px;
}
#edit-extra a, ul#navibar a:hover {
color: #555;
}
ul#navibar a {
color: #AAAAAA;
}
#edit-extra ul {
margin: 0;
padding: 0;
}
#edit-extra ul li , ul#navibar li {
display: inline;
list-style-type: none;
}
#edit-extra ul.editbar {
float:left;
}
#edit-extra ul.editbar li {
margin-right: 10px;
float: left;
}
ul#navibar {
float:left;
padding: 0;
margin: -10px 0;
}
ul#navibar li {
margin-right: 10px;
}
ul#navibar li.current {
}
ul#username {
float:right;
}
ul#username li {
margin-left: 10px;
}
#edit-extra ul.editbar li form.actionsmenu div input {
display: none;
}
#message {
background: none repeat scroll 0 0 #F7F7F7;
border: 1px solid #F0F0F0;
padding: 10px 10px 12px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
margin-bottom: 22px;
}
#message * {
font-size: 16px;
line-height: 22px;
margin: 0;
color: #333;
}
.toc, .supported-releases, .page_info {
background: none repeat scroll 0 0 #f7f7f7;
border: 1px solid #f0f0f0;
margin-right: 1px;
box-shadow: none;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
}
.toc * , .page_info * {
font-size: 11px;
line-height: 14px;
text-shadow: none;
}
.toc a {
color:#666;
}
.page_info-core p {
text-shadow: none;
}
table.advancedsearch {
width: 100%;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment