/* @override 
	http://notes.vibvib.local:8888/wp-content/themes/minimalistic/style.css?* */

:root {
	--background: whitesmoke;
	--link-color: blue;
	--font-size:1rem;
}

@media (min-width:1300px) {:root {	--font-size:1.1rem;}}
@media (min-width:1800px) {:root {	--font-size:1.2rem;}}

html {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	line-height: 1.5;
	background-color: var(--background);
	font-size: var(--font-size);
}

a, a:link, a:visited {
	color: unset;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: solid;
}

a:hover, a:focus, a:active {
	color: unset;
	border-bottom: none;
}

h2, h3, h4, h5, h6 {
	font-weight: 500;
	max-width: 56ch;
}

p, cite, .summary {
	max-width: 69ch;
}

/*For the javascript event*/

#main_nav {
	--details-force-closed: (max-width: 960px);
}

.site-title {
	font-size: unset;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 0;
}

.logo a {
	text-decoration: none;
	color: unset;
}

.site-description {
	display: none;
}

@media (min-width:960px) {
.site-description {
	font-style: italic;
	display: block;
	font-size: 75%;
}
	
}

/* @group Main Layout */
@media (max-width:960px) {
	#page_header {
		display: flex;
		justify-content: space-between;
	}
	.main_summary {
		text-align: right;
		color: var(--link-color);
		display: block;
         user-select: none; 
         -moz-user-select: none;
         -webkit-text-select: none;
         -webkit-user-select: none;
		 cursor: pointer;
	}
	.main_summary:hover {
		color: unset;
	}
/*	hide triangle on safari*/
summary::-webkit-details-marker { display: none }
#main_nav {
		position: absolute;
		padding: 20px;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 50;
		background-color: var(--background);
		border-bottom-style: solid;
		border-bottom-width: 1px;
	}
	.logo {
		position: relative;
		z-index: 55;
	}
	
	
	.site-content {
	padding-top: 20px;
}
}

@media (min-width:960px) {
	.main_summary {
		display: none;
	}
}

body {
padding: 20px;
}



@media (min-width:960px) {
	
body {
  display: grid;
  gap: 20px;
/*  grid-template-columns: fit-content(30%) 1fr;*/
grid-template-columns: 1fr 5fr;
  grid-template-areas:
  "header article"
"footer footer";
margin: 1rem;

}

section {
	grid-area:header;
}

.site-content {
	grid-area:article;
	
}
#main_nav {
	padding-right: 2rem;
}

footer {
	grid-area:footer;
}

} 


/* @end */

/************************************
*  		STANDARD SUGGESTIONS 		*
************************************/

/* Make links and buttons smooth */
a, a:link, a:visited, a:focus, a:hover, a:active, button{
	transition: color 0.2s ease;
}

/* Make code look good */
pre{
	display: block;	
	white-space: pre;
	max-width: 100%;
	overflow-x: auto;
}
code{
	display: inline-block;
	word-break: break-all;
}

/* Make table responsive and look good */
.tm-table {
    overflow-x: auto;
}
table{
	width: 100%;
	border-collapse: collapse;
}

/* For definition list */
dt::after{
	content: ":";
}

img, figure,figure img{
	max-width: 100%;
	height: auto;
}
figure{
	display: table;
	margin: 0;
	padding: 0;
}

@media (min-width: 40em) {
	figure.right {
	    width: auto;
	    float: right;
	    margin: 0 0 2em 2em;
	}
	figure.left {
	    width: auto;
	    float: left;
	    margin: 0 2em 2em 0;
	}
}
figure img{
	display: block;
	margin: auto;
}
figcaption{
	display: table-caption;
	caption-side: bottom;
}
.logo-image{
	max-width: 250px;
	max-height: 80px;
}

.notice1 {
    margin: 1em 0;
    padding: 10px 1em;
	background-color: #fafafa;
	border-left: 10px solid #000;
}
.notice2 {
    margin: 1em 0;
    padding: 10px 1em;
	background-color: #eee;
	border-left: 10px solid #999;
}
.notice3,
.notice4,
.notice5,
.notice6 {
    margin: 1em 0;
    padding: 10px 1em;
	background-color: #444;
	border-left: 10px solid #ccc;
	color: #fff;
}



html {
	font-stretch: 95%;
	font-weight: 350;
}

.logo p {
	margin-top: 0;
}

code, pre {
/*	Fix for the highlight plugin*/
	font-family: monospace !important;
}

strong {
	font-weight: 600;
}

header h1 {
	margin-top: 0;
}

article {
	margin-bottom: 6ch;
}

.pixelated img {
	image-rendering: pixelated;
}



/* Sidebar */

#main_nav ul {
	list-style-type: none;
	padding: 0;
	margin-top: 0;
}

#main_nav li {
	line-height: 175%;
	padding-left: 2ch;
}

#main_nav h2 {
	font-size: unset;
	margin: 0;
}

@media (min-width:960px) {
#main_nav li {
	font-size: 75%;
}	
}


/* Posts */
.entry-footer {
	font-size: 75%;
}

/* Galeries */

.wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-gap: 10px;
}

.wp-block-gallery.columns-1 {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.wp-block-gallery .wp-block-image {
	margin: 0;
}

/* Anciennes version galerie */
ul.blocks-gallery-grid {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

/* Pagination */
.nav-links {
	display: flex;
	gap:10px;
	justify-content: space-between;
	flex-wrap: wrap;
}

/* Footer */
.site-footer {
	margin-top: 2rem;
}