No edit summary
No edit summary
Line 456: Line 456:


/* Template:Person */
/* Template:Person */
.img-person-left {
.img-person {
   float: left;
   float: right;
  margin-left: -50px;
   margin-right: 30px;
   margin-right: 30px;
}
.img-person-right {
  float: right;
  margin-right: -50px;
   margin-left: 30px;
   margin-left: 30px;
}
}


.person-container-left {
.person-container {
background-color: #f0f0f0;
padding: 30px;
margin: 0 -60px;
}
 
.person-container-right {
background-color: #ffffff;
background-color: #ffffff;
padding: 30px;
padding: 30px;

Revision as of 10:22, 7 May 2022

/* CSS placed here will be applied to all skins */

/* ============================== general interface =============================== */
/* html {
	scroll-behavior: smooth;
} */
.content hr {
    background-color: #eeeeee;
    height: 2px;
    border: 0;
}

/* top bar cleanup */
#mw-mf-main-menu-button { display:none; }
.header .branding-box { width:auto; }
.minerva-user-notifications { display:none; }
.minerva-user-menu { display:none; }

.minerva__tab-container { display:none; }
.page-actions-menu { display:none; }

/* top bar styling */
.header-container.header-chrome {
	background-color: #ffffff;
	color: #4c4c4c;
	box-shadow: none;
}

#searchInput {
	color: grey;
	border: 1px solid #4c4c4c;
	border-radius: 1.125em;
}

/* left-hand menu cleanup */
#p-interaction { display:none; }

/* bottom area cleanup */
.talk { display:none; }
.last-modified-bar { display:none; }
footer .hlist li::after, .mw-footer .hlist li::after {
	color: #202122;
}
.footer-info { display:none; }

/* page layout and colors */
.mw-body { background: #fbf0a4; }

.heading-holder { display:none; } /* nasconde il titolo come generato automaticamente da MediaWiki, perché nelle varie pagine viene rigenerato ad hoc dal template Header */

.ns-special .heading-holder { display:block; } /* ma mostra il titolo come generato automaticamente da MediaWiki nelle pagine del namespace Special: */

a:link {
	color: black;
	text-decoration: underline;
}

a:visited {
	color: #4c4c4c;
}

a:hover {
	color: #4c4c4c;
	text-decoration: none;
}

a.external {
	color: black;
	text-decoration: underline;
}

a.external:visited {
	color: #4c4c4c;
}

a.external:hover {
	color: #4c4c4c;
	text-decoration: none;
}

.list-roman {
	list-style-type: upper-roman;
}

.content {
	background: #ffffff;
	margin-top: -1px;
	padding: 30px 60px 30px 60px;
	box-shadow: inset 0 3px 3px rgba(0,0,0,0.08);
}

.justified {
	text-align: left;
}

.img-comfy {
  margin: 30px;
}

.mw-search-result-data {
	display:none;
}

.custom-mobile-only { display: none; }
.custom-print-only { display: none; }

/* cookie banner */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
	border-color: #4c4c4c;
	color: #4c4c4c;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
	border-color: #4c4c4c;
	color: grey;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
	border-color: #4c4c4c !important;
	color: grey !important;
	background-color: white !important;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active {
	border-color: #4c4c4c !important;
	color: grey !important;
	background-color: white !important;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
	border-color: #4c4c4c;
	background-color: #4c4c4c;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
	border-color: #4c4c4c;
	background-color: grey;
	color: white;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
	border-color: #4c4c4c !important;
	background-color: grey !important;
	color: white !important;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active {
	border-color: #4c4c4c !important;
	background-color: grey !important;
	color: white !important;
}
/* template:Menu bar */
.navbar {
  overflow: hidden;
  background-color: #4c4c4c;
  margin: -30px -60px 100px -60px;
}

.navbar a {
  float: left;
  color: #fbf0a4;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar a:hover {
  background-color: #666;
}

.navbar p {
	margin: 0;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  border: none;
  outline: none;
  color: #fbf0a4;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #4c4c4c;
  min-width: 160px;
  box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: #fbf0a4;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content-alt a {
  float: none;
  color: #fbf0a4;
  padding: 12px 24px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #666;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ============================== home =============================== */
.home-in-cooperation-with-container, .home-with-the-patronage-of-container {
	width: 50%;
	display: flex;
	margin: 0 auto;
}
.home-in-cooperation-with-item, .home-with-the-patronage-of-item {
	width: 50%;
	margin: auto;
}

/* ============================== templates =============================== */

.home-button-container-page {
	margin: 20px auto;
	width: 9em;
}

.home-button-container-page a:link,
.home-button-container-page a:visited,
.home-button-container-page a:hover,
.home-button-container-page a:active {
  text-decoration: none;
}

.home-button-container-url {
	margin: 20px auto;
	width: 25em;
}

.home-button-container-url a:link,
.home-button-container-url a:visited,
.home-button-container-url a:hover,
.home-button-container-url a:active {
  text-decoration: none;
}

.home-button {
  padding: 8px;
  text-align: center;
  background-color: white;
  border: 1px solid #4c4c4c;
  border-radius: 2em;
  transition: .5s;
}

.home-button:hover {
	box-shadow: 0 4px 4px rgba(0,0,0,0.08);
}

.home-header-container {
	position: relative;
	background-color: #4c4c4c;
	color: #fbf0a4;
	padding: 20px 40px 20px 40px;
	margin: -38px -60px 30px -60px;
}

.home-header-container a:link,
.home-header-container a:visited,
.home-header-container a:hover,
.home-header-container a:active {
	color: #fbf0a4;
	text-decoration: none;
}

.home-header-img {
	width: 70px;
	height: 78px;
	position: absolute;
	right: 30px;
	top: 50%;
	transform: translate(-50%, -50%);
}

.home-header-title {
	margin: 0;
	font-size: 300%;
	font-family: 'Linux Libertine','Georgia','Times',serif;
}

.home-picture-box {
  height: 300px;
  margin: 30px -60px 10px -60px;
  background-color: #4c4c4c;
  background-image: url('https://www.wittgensteinproject.org/w/images/9/99/Skjolden_from_the_other_shore_of_the_small_eidsvatnet_lake_Nicol%C3%A1s_Boullosa_CC_BY.jpg');
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100%;
}

.home-picture-box-2 {
  height: 300px;
  margin: 30px -60px 10px -60px;
  background-color: #4c4c4c;
  background-image: url('https://www.wittgensteinproject.org/w/images/a/a0/Wittgensteinhaus_%28bw_crop%29_by_Aldo_Ernstbrunner_CC_BY-SA.jpg');
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100%;
}

.home-picture-box-3 {
  height: 300px;
  margin: 30px -60px 10px -60px;
  background-color: #4c4c4c;
  background-image: url('https://www.wittgensteinproject.org/w/images/2/26/Wittgenstein%2C_Ms-102%2C14v_%2813_November_1914%29.jpg');
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100%;
}

.tl-check { display:none; }

.toc-item {
	display: inline-block;
	width: 4em;
	margin: 0 3px 3px 0;
}

.custom-toc {
	width: 65%;
	margin: 20px auto 20px auto;
}

.colophon {
	width: 65%;
	margin: 20px auto 20px auto;
}

.custom-video {
	display: block;
	margin: 30px auto;
	border: 1px solid silver;
	width:640px;
	height:360px;
}

/* Template:Header */
.header-lines {
	margin:50px auto 50px auto;
	clear:both;
	text-align:center;
	border-top: 3px double #CCC;
	color:#222;
	line-height:120%;
	width:80%;
}

.header-title {
	font-size: 300%;
	text-align: center;
	margin-top: -95px;
	font-family: 'Linux Libertine','Georgia','Times',serif;
}

.header-whitespace {
	background-color: white;
}

/* Template:Title */
.tl-title {
	font-family: 'Linux Libertine','Georgia','Times',serif;
	font-size: 1.7em;
	text-align: center;
	margin-top: 30px;
	margin-bottom: 30px;
}

/* Template:Top */
.top-arrow {
	position: fixed;
	top: 50%;
	right: 20px;
}

.custom-tooltip {
  width: 12em;
  background-color: rgba(0,0,0,0.6);
  color: white;
  padding: .5em;
  border-radius: .3em;
  transform: translate(-14em, -.5em);
  position: absolute;
  box-shadow: 0 3px 6px rgba(0,0,0,0.6);
  transition: .2s;
}
.custom-tooltip:hover {
	box-shadow: 0 6px 10px rgba(0,0,0,0.6);
}
.tooltip-close-button {
  float: right;
}
.tooltip-close-button:hover {
  cursor: pointer;
}

/* Template:Nowrap */
.nowrap {
	white-space: nowrap;
}

/* Template:Spaced text */
.spaced-text {
	letter-spacing: 0.4em;
	margin-right: -0.4em;
}

/* Template:ParTLP */
.tlp-aside-par {
	margin-left: -8em;
	float: left;
}

.tlp-container {
	margin-left: 8em;
}

/* Template:BBB TS reference, Philosophie TS reference */
.bbb-aside-par, .philosophie-aside-par, .frazer-aside-par {
	float: right;
	margin-right: -8em;
}

.bbb-container, .philosophie-container {
	margin-right: 8em;
}

.frazer-container {
	margin-right: 8em;
	margin-left: 3em;
}

/* Template:Person */
.img-person {
  float: right;
  margin-right: 30px;
  margin-left: 30px;
}

.person-container {
	background-color: #ffffff;
	padding: 30px;
	margin: 0 -60px;
}

/* Template:Notes toggle */
.switch {
  position: relative;
  display: block;
  width: 30px;
  height: 17px;
  margin: 0 auto;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 17px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4c4c4c;
}

input:focus + .slider {
  box-shadow: 0 0 1px #4c4c4c;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* versione alternativa del toggle per Project:All texts */
.slider-alt {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4c4c4c;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 17px;
}

.slider-alt:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider-alt {
  background-color: #4c4c4c;
}

input:focus + .slider-alt {
  box-shadow: 0 0 1px #4c4c4c;
}

input:checked + .slider-alt:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* per default, in Project:All Texts viene mostrata la lista e non la tabella */
#all-texts-table {
	display: none;
}

/* viene forzata anche nella vista desktop lo scroll orizzontale della tabella */
.all-texts-table-container {
	overflow-x: scroll;
}

/* template:Social icons */
.social-icons-container {
	display: flex;
	width: 30%; margin: 10px auto;
}
.social-icon {
	width: 25%;
}

.social-icon-img {
	transition: .5s;
}
.social-icon-img:hover {
	transform: scale(1.1);
}

/* ============================== tree-like Tractatus =============================== */
.tlp-drawer {
	padding: 10px;
	border-left: 1px solid silver;
	margin-top: 5px;
}

/*.tlp-drawer:hover {
	background-color: silver;
}*/

/* ============================== mobile responsiveness =============================== */
#mf-banner { display: none; }