Organize common CSS style definition.

This commit is contained in:
takezoe
2013-06-27 14:28:25 +09:00
parent 2c9ed60dbb
commit e6fdd5ca5d

View File

@@ -1,3 +1,6 @@
/****************************************************************************/
/* Common */
/****************************************************************************/
table.global-nav { table.global-nav {
width: 920px; width: 920px;
margin-bottom: 10px; margin-bottom: 10px;
@@ -54,7 +57,7 @@ span.error {
font-weight: bold; font-weight: bold;
} }
a.commit-message, a.commit-id, a.username { a.commit-message, a.commit-id, a.username, a.issue-comment-count {
color: #333333; color: #333333;
} }
@@ -78,39 +81,10 @@ span.count-right {
font-family: monospace; font-family: monospace;
} }
table.table-file-list {
margin-bottom: 0px;
}
table.table-file-list th, table.table-file-list td {
padding-top: 8px;
padding-bottom: 8px;
}
table.table-file-list td.latest-commit {
padding-top: 4px;
padding-bottom: 4px;
background-color: white;
}
/*
table.table {
margin-bottom: 10px;
}
*/
table.table th { table.table th {
background-color: #d9edf7; background-color: #d9edf7;
} }
table.table-file-list td {
background-color: #F8F8F8;
font-size: small;
}
th, td, .table th, .table td {
padding-top: 4px;
padding-bottom: 4px;
}
div.block-header { div.block-header {
font-size: large; font-size: large;
font-weight: bold; font-weight: bold;
@@ -122,28 +96,10 @@ div.block {
border-bottom: 1px solid silver; border-bottom: 1px solid silver;
} }
pre.commit-description {
font-weight: normal;
border: none;
background-color: transparent;
padding: 2px;
margin: 0px;
}
h1.wiki-title {
margin-top: 0px;
}
h3 { h3 {
margin-top: 0px; margin-top: 0px;
} }
#repository-url {
background-color: white;
cursor: default;
width: 350px;
}
div.box { div.box {
background-color: #efefef; background-color: #efefef;
padding: 2px; padding: 2px;
@@ -216,6 +172,48 @@ hr {
margin-bottom: 4px; margin-bottom: 4px;
} }
/****************************************************************************/
/* Repository Viewer */
/****************************************************************************/
table.table-file-list {
margin-bottom: 0px;
}
table.table-file-list th, table.table-file-list td {
padding-top: 8px;
padding-bottom: 8px;
}
table.table-file-list td.latest-commit {
padding-top: 4px;
padding-bottom: 4px;
background-color: white;
}
table.table-file-list td {
background-color: #F8F8F8;
font-size: small;
}
th, td, .table th, .table td {
padding-top: 4px;
padding-bottom: 4px;
}
pre.commit-description {
font-weight: normal;
border: none;
background-color: transparent;
padding: 2px;
margin: 0px;
}
#repository-url {
background-color: white;
cursor: default;
width: 350px;
}
ul#commit-file-list { ul#commit-file-list {
list-style-type: none; list-style-type: none;
padding-left: 0px; padding-left: 0px;
@@ -227,25 +225,45 @@ ul#commit-file-list li.border {
border-top: 1px solid #eee; border-top: 1px solid #eee;
} }
ul.collaborator { /****************************************************************************/
list-style-type: none; /* Issues */
margin-left: 0px; /****************************************************************************/
} table.table-issues {
margin-top: 12px;
ul.collaborator li {
background-color: #eee;
border: 1px solid #ccc;
border-radius: 3px;
padding: 6px;
}
ul.collaborator li:hover {
background-color: #f8f8f8;
} }
ul.collaborator a.remove { a.issue-title {
color: #dd0000; color: black;
text-decoration: underline; font-weight: bold;
size: 110%;
}
ul.label-list {
list-style-type: none;
padding-left: 0px;
margin-left: 0px;
font-size: 90%;
}
ul.label-list a {
padding-left: 6px;
padding-top: 4px;
padding-bottom: 4px;
margin-bottom: 8px;
color: #444;
}
span.label-color {
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
}
a#clear-filter {
display: block;
color: #444;
font-weight: bold;
margin-bottom: 10px;
} }
a.milestone-title { a.milestone-title {
@@ -298,6 +316,40 @@ span.milestone-percentage {
padding-left: 8px; padding-left: 8px;
} }
/****************************************************************************/
/* Wiki */
/****************************************************************************/
h1.wiki-title {
margin-top: 0px;
}
/****************************************************************************/
/* Repository Settings */
/****************************************************************************/
ul.collaborator {
list-style-type: none;
margin-left: 0px;
}
ul.collaborator li {
background-color: #eee;
border: 1px solid #ccc;
border-radius: 3px;
padding: 6px;
}
ul.collaborator li:hover {
background-color: #f8f8f8;
}
ul.collaborator a.remove {
color: #dd0000;
text-decoration: underline;
}
/****************************************************************************/
/* Markdown */
/****************************************************************************/
div.markdown-body table { div.markdown-body table {
/*width: 100%;*/ /*width: 100%;*/
margin-bottom: 20px; margin-bottom: 20px;