This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
bistro/skins/bistro/media/css/extra.css

653 lines
11 KiB
CSS

/*
* bleu: #37a7da;
* rose: #e0007a;
* mauve: #672290;
* gris: #58595b;
*/
@font-face {
font-family: 'Museo500';
src: url(Museo500-Regular.otf);
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'MuseoSlab';
src: url(Museo_Slab.otf);
font-weight: normal;
font-style: normal;
}
body {
transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-webkit-transition: all .2s ease-in-out;
}
img#bistro-logo {
margin: 10px 0px;
}
h1#title {
margin: 30px 0px 0px 0px;
padding-bottom: 15px;
font-family: MuseoSlab, sans-serif;
font-size: 80px;
z-index: 200000;
float: none;
}
h1#title a,
div#subtitle a {
color: #777;
font-size: inherit;
line-height: inherit;
font-weight: inherit;
-moz-transition: all .2s ease-in-out;
-webkit-transition: all .2s ease-in-out;
}
div#subtitle a:hover,
h1#title a:hover {
text-decoration: none;
}
div#subtitle {
font-style: "Museo500";
font-size: 20px;
margin-left: 20px;
color: #888;
display: inline-block;
border-bottom: 1px dotted transparent;
}
div#site-header:hover div#subtitle a {
border-bottom: 1px dotted #888;
}
div#site-header:hover h1#title a,
div#site-header:hover div#subtitle a {
color: #666;
}
div#userToolsNav {
position: absolute;
top: -90px;
right: 0px;
margin: 0;
}
#secondaryHeader {
background: transparent;
border: none;
margin-top: 15px;
}
div#ContentRight div.box {
overflow: visible;
}
div#ContentRight div.box h2 {
background: transparent;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
border: 1px solid #ccc;
box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
-moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
-webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
}
button,
div#secondNavLinks a,
input[type="submit"],
input[type="button"],
input[type="reset"],
.button,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
button.submit-comment,
button.submit-comment:hover,
.button:hover {
background-image: none;
background-color: #e0007a;
background-color: #37a7da;
box-shadow: none;
color: white;
text-shadow: none;
}
div#secondNavLinks a:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
button.submit-comment:hover,
.button:hover {
box-shadow: 0 0 2px rgba(0, 0, 0, 0.9);
}
input[type="button"].cancelSearchBtn:hover
{
box-shadow: none;
}
a#homeButton {
border: none;
}
#secondaryHeader td.search-bar {
padding-right: 0;
padding-left: 30px;
}
div.notify {
background: #fff36c;
background: rgba(255, 236, 24, 0.78)
}
.question-page .post-update-info {
background: none;
box-shadow: none;
}
.question-page .post-update-info-container {
background: white;
border-bottom-left-radius: 10px;
}
form.quixote {
overflow: hidden;
}
form.quixote label input {
display: inline;
}
div.attached-file {
margin: 1ex 0;
padding: 0.5ex 1ex;
border: 1px solid #f0f0f0;
border-width: 1px 0;
}
#userToolsNav a {
color: #B3843E;
}
div.upload-attached-file p {
margin-top: 0em;
}
div.upload-attached-file label {
font-size: 16px;
font-style: italic;
margin-top: 1em;
display: block;
}
.rss {
width: 20px;
}
.rss:hover {
text-decoration: none;
}
#footer {
clear: both;
padding: 2em 1em 1em 1em;
width: auto;
background: #919396;
color: white;
position: relative;
min-height: 75px;
}
#footer p {
margin: 1em 0ex;
color: white;
}
#footer p a {
color: white;
font-weight: bold;
}
#footer #montpellier-agglo {
background: url(../images/logo-agglo-50p.png);
display: block;
width: 69px;
height: 96px;
position: absolute;
right: 1em;
top: 1ex;
}
#ContentLeft {
width: 200px;
}
#ContentRight {
width: 730px;
}
ul#related-tags li {
clear: none;
}
ul#related-tags li .tag-number {
display: none;
}
.tabBar {
float: left;
background: #eceeeb;
padding-top: 6px;
margin-top: 4px;
line-height: 18px;
border-radius: 0;
-webkit-border-radius: 0;
-moz-border-radius: 0;
-ms-border-radius: 0;
margin-bottom: 1em;
}
.tabBar .tabsA a {
border: none;
padding-top: 3px;
}
.tabBar .tabsA a.on {
color: #333;
}
h1#questionCount {
display: none;
}
#sort_tabs span.label {
}
#question-list,
div.users-questions {
width: 102%;
width: calc(100% + 40px);
}
div.short-summary {
width: calc(50% - 40px);
margin-right: 20px;
float: left;
border: 1px solid #ccc;
box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
-moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
-webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
margin-bottom: 1em;
padding-left: 1ex;
position: relative;
border-radius: 0 26px 26px 0;
}
div.short-summary h2 {
max-height: 52px;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
}
div.short-summary div.counts {
margin-top: -11px;
margin-right: -4px;
margin-bottom: -4px;
height: 162px;
}
div.short-summary .votes,
div.short-summary .answers,
div.short-summary .favorites,
div.short-summary .views {
float: none;
border: 1px solid transparent;
border-radius: 26px;
height: 42px;
}
div.short-summary .votes {
border: 2px solid #96BD0D;
}
div.short-summary .views {
border: 2px solid #f19300;
}
div.short-summary .answers {
border: 2px solid #55A9D9;
}
div.short-summary .views.no-views,
div.short-summary .answers.no-answers {
display: none;
background: #d9d9d9;
}
div.short-summary .votes.no-votes {
display: none;
background: #c7c7c7;
}
div.short-summary .counts .votes div,
div.short-summary .counts .answers div,
div.short-summary .counts .favorites div {
font-size: 12px;
}
div.short-summary div.date {
}
div.short-summary div.userinfo {
text-align: left;
}
div.short-summary .tags {
position: absolute;
bottom: 0px;
height: 28px;
margin-right: 40px;
}
h1.section-title {
color: #777;
}
div.tabBar-profile {
background: white;
}
div.tabBar-profile a {
color: #0088cc;
}
div.tabBar-profile a.on {
text-decoration: underline;
}
div#medalList div a.medal {
background: white;
}
div#medalList div.not-owned a.medal {
background: #f5f5f5;
color: #aaa;
border: 1px solid transparent;
}
div#medalList div.not-owned a.medal img {
opacity: 0.2;
-webkit-filter: grayscale(100%);
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 9+ */
filter: gray; /* IE6+ */
}
div.medal-box a {
display: inline-block;
text-align: center;
}
div.medal-box span {
display: inline-block;
height: 2em;
}
div#medalList {
-webkit-column-count: 3;
-moz-column-count: 3;
}
div#medalList a.medal {
display: inline-block;
width: 70%;
line-height: 1em;
margin-bottom: 1ex;
}
span#askButton {
background: #58595b;
margin-top: 0;
}
body.ask-page div#ContentRight {
margin-top: -65px;
}
.question-page .answered-by-owner,
.question-page .answered-by-owner .comments,
.question-page .answered-by-owner .comments .button {
background-color: transparent;
}
.question-page h2.comment-title {
padding-left: 34px;
color: #58595b;
font-size: 16px;
}
.question-page #fmanswer h2 {
color: #37a7da;
}
.question-page .post {
border: 1px solid #ccc;
box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
-moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
-webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
padding: 5px 2%;
position: relative;
width: 96%;
}
.question-page .post.answer {
margin-left: 5%;
width: 91%;
}
.question-page .answer .post-content {
border: none;
}
.question-page .post-update-info-container {
top: 0px;
position: absolute;
right: 0px;
}
.question-page a.avatar-box {
height: 64px;
width: 64px;
}
.question-page a.avatar-box img {
border-radius: 10px;
}
div.user-card {
height: 67px;
}
.question-page form#fmanswer {
margin-left: 5%;
}
a.avatar-box img {
border-radius: 7px;
}
.question-page .question h1,
.question-page .answer h1,
.question-page .question .post-body,
.question-page .answer .post-body {
margin-right: 160px;
}
.users-page .tabBar,
.tags-page .tabBar,
.groups-page .tabBar {
float: right;
}
.user-list img.gravatar {
width: 32px;
height: 32px;
}
div.using {
background: transparent;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
border: 1px solid #ccc;
box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
-moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
-webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
padding: 10px 10px;
width: 80%;
margin-top: 1em;
margin-left: 0;
margin-bottom: 1em;
}
div.using input {
width: 68%;
}
div.using a.button {
padding: 5px;
width: 10%;
position: relative;
top: 2px;
}
div.form-preview-container {
max-height: 17em;
overflow-y: scroll;
padding: 5px;
border: 1px solid #ccc;
box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
-moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
-webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
}
body.lang-fr .box .inputs #interestingTagInput,
body.lang-fr .box .inputs #ignoredTagInput,
body.lang-fr .box .inputs #subscribedTagInput,
body.lang-fr .box .inputs #ab-tag-search {
width: 122px;
}
div#secondNavLinks {
position: absolute;
right: 0;
top: -20px;
}
div#secondNavLinks a {
padding: 1ex 1em;
margin-left: 1ex;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
div#secondNavLinks a:hover {
text-decoration: none;
}
.meta {
font-size: 14px;
line-height: 150%;
color: #666;
}
p#welcome {
background: #fff36c;
padding: 1ex;
}
input[type="submit"].searchBtn,
input[type="submit"].searchBtn:hover {
background: transparent url(../images/search.png) 8px 2px no-repeat;
box-shadow: none;
}
#faq {
margin: 0 0;
text-align: justify;
width: 620px;
}
#faq .figure {
position: absolute;
right: 0;
}
#faq .figure img {
position: relative;
top: -200px;
}
#faq .figure strong {
display: block;
}
#faq h2 {
line-height: 130%;
margin: 1em 0 1ex 0;
}
.question-page .post-controls .question-delete {
background: url(../images/icons/trash-orange.png) 0 0 no-repeat;
padding: 12px 0 12px 32px;
}
.question-page .post-controls .question-close {
background: url(../images/icons/close-orange.png) 0 8px no-repeat;
padding: 12px 0 12px 22px;
}
.question-page .post-controls .question-edit {
background: url(../images/icons/edit-orange.png) 0 8px no-repeat;
padding: 12px 0 12px 22px;
}
.question-page .post-controls .question-retag {
background: url(../images/icons/tag-orange.png) 0 2px no-repeat;
padding: 12px 0 12px 32px;
}
.question-page .comments .controls a {
background-image: url(../images/icons/answer-orange.png);
padding: 12px 0 12px 32px;
}
#charte-toc {
padding: 3em 0 0 0;
margin: 0;
list-style: none;
}
#charte-toc li {
padding: 0.5ex 0;
}
.search-drop-menu {
bottom: auto;
top: 40px;
}