.
CSS
[CSS] The Black Hexagon
body {
font-family: 'Share Tech', sans-serif;
font-size: 68px;
color: white;
display: flex;
jsutify-content: center;
align-items: center;
margin: 0;
width: 100vw;
height: 100vh;
text-shadow: 8px 8px 10px #0000008c;
background-color: #343a40;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%239C92AC' fill-opacity='0.25' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), linear-gradient(to right top, #343a40, #2b2c31, #211f22, #151314, #000000);
}
h1 {
margin: 20px;
}
// https://static1.makeuseofimages.com/wordpress/wp-content/uploads/2022/05/1-The-black-hexagon-background-pattern.jpg?q=50&fit=crop&w=1500&dpr=1.5
CSS
https://www.makeuseof.com/css-background-patterns-examples/
<iframe width="100%" height="578" src="https://snippet.echosystem.fr?embed=627cb3ea5ed7f" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 12/05/2022
GRAV CMS - CSS Dark
.CodeMirror-cursor { background: #fff!important; }
.code-mirrored {
width: 1px;
background: rgba(255, 255, 255, 0.6) !important;
}
.breadcrumb-node:hover span {
text-decoration: none;
color: #242526;
}
.breadcrumb-node span {
text-decoration: none;
color: #242526;
}
grav css
echosystem.fr
<iframe width="100%" height="506" src="https://snippet.echosystem.fr?embed=6232fe9ad2f57" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 17/03/2022
[CSS] Media Query
CSS media Query tips
/* Extra small devices (phones, 600px and down) */
@media (max-width: 600px) {...}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media (min-width: 600px) {...}
/* Medium devices (landscape tablets, 768px and up) */
@media (min-width: 768px) {...}
/* Large devices (laptops/desktops, 992px and up) */
@media (min-width: 992px) {...}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media (min-width: 1200px) {...}
##################################################################
--> depending on where you start you might have for desktop first:
@media (max-width: 1200px)
@media (max-width: 992px)
@media (max-width: 768px)
@media (max-width: 576px)
--> while for mobile first you can have:
@media (min-width: 576px)
@media (min-width: 768px)
@media (min-width: 992px)
@media (min-width: 1200px)
CSS
<iframe width="100%" height="830" src="https://snippet.echosystem.fr?embed=60eff22e560d4" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 15/07/2021
[CSS] FIX Footer in bottom page
#footer {
position:absolute;
bottom:0;
width:100%;
height:40px; /* Height of the footer */
}
CSS html
<iframe width="100%" height="290" src="https://snippet.echosystem.fr?embed=5fa1747218012" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 03/11/2021
[stylus] nextcloud fix color add file
/* new file text Yellow */
.oc-dialog .fileexists th label {
font-weight: normal;
color: #f2e923;
}
CSS stylus
<iframe width="100%" height="272" src="https://snippet.echosystem.fr?embed=5f0e082a5f8f4" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 02/11/2021
[stylus] GOGS
// Full WIDTH
/*full width*/
.ui.container:not(.fluid) {
width: 90% !important;
}
.full.height {
padding: 0;
margin: 0 0 -80px 0;
min-height: 100%;
}
.ui.container {
width: 1327px;
margin-left: auto !important;
margin-right: auto !important;
}
// Dark theme
:root {
--body-bg: white;
--body-color: black;
--anchor-color: red;
--letter-spacing: 0;
}
@media (prefers-color-scheme: dark) {
html {
filter: invert(1) hue-rotate(.5turn);
}
img {
filter: invert(1) hue-rotate(.5turn);
}
img:not(:hover) {
opacity: .7;
transition: opacity .25s ease-in-out;
}
:root {
--body-bg: #403e3e;
--body-color: white;
--anchor-color: salmon;
--letter-spacing: 0;
}
}
body:not(.full-width) {
background-color: var(--body-bg);
letter-spacing: var(--letter-spacing);
}
.ui.menu .ui.dropdown .menu > .item:hover {
background: rgba(0,0,0,.05) !important;
/* color: rgba(85, 162, 200, .95) !important;*/
color: #1e70bf !important;
}
.following.bar .top.menu a.item:hover {
color: #bf611e !important;
}
.ui.secondary.pointing.menu .active.item:hover {
border-color: #1b1c1d;
color: #bf611e !important;
}
.ui.card > .extra a:not(.ui) , .ui.cards > .card > .extra a:not(.ui) {
color: #1e70bf;
}
.ui.card > .extra a:not(.ui):hover, .ui.cards > .card > .extra a:not(.ui):hover {
color: #989da2;
}
.markdown:not(code) pre {
word-wrap: normal;
background-color: #cbcbcb;
}
CSS gogs stylus
git.echosystem.fr
<iframe width="100%" height="1586" src="https://snippet.echosystem.fr?embed=5f0e078848690" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 02/11/2021
[stylus] netatmo css
/* ==UserStyle==
@name Netatmo - Dark theme
@namespace USO Archive
@author St3v32
@description `Dark theme for netatmo security cameraValid on:https://my.netatmo.com/--------------------------------https://my.netatmo.com/app/securityorhttps://my.netatmo.com/app/camera`
@version 20200806.16.47
@license CC0-1.0
@preprocessor uso
==/UserStyle== */
@-moz-document url("https://my.netatmo.com/app/camera"), url("https://my.netatmo.com/app/security"), url-prefix("https://my.netatmo.com/"), url("https://my.netatmo.com/app/weather") {
/* Large screen */
.h-fullh {
height: 100%;
background-color: #222222;
color: #308009;
}
/* Body theme */
body {
background-color: #222222;
font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
font-weight: normal;
font-style: normal;
line-height: 1.5;
cursor: auto;
}
/* center */
.flex-center {
color: #4fd70b;
background-color: #222222;
}
.camera-app #home-view .home-wrapper {
font-size: 16px;
position: relative;
width: 100%;
color: #4fd70b;
background-color: #222222;
}
.page-container {
margin-top: 60px;
height: calc(100% - 60px);
overflow: auto;
position: relative;
color: #4fd70b;
background-color: #222222;
}
#persons .person-list {
height: 75%;
background-color: #090808;
border-radius: 0 0 5px 5px;
}
/* flech arrow camera right */
#timeline #timelineList .event .event-selectable.outdoor .presence-images .vignettes-wrapper .next {
filter: invert(1);
}
.controlBar > .button:enabled:hover {
fill: #48a0f7;
}
.controlBar > .button:enabled:hover:active {
fill: #2d89e6;
}
/* header menu black */
.common-header .block-content.category a:hover p {
color: #4078f8;
font-size: 16px;
font-family: ProximaNova-Semibold;
padding: 5px 25px;
border-radius: 2px;
}
.common-header .header-app .logo-wrapper .logo {
filter: invert(1);
}
.common-header .header-app {
background: #151515;
border-bottom: 1px solid #87a662;
}
/* logo negatif */
.common-header .right-content {
filter: invert(1);
}
/* header camera name */
.home-selector {
z-index: 10;
height: 60px;
box-shadow: 0 0 203px 3px rgba(181, 185, 179, 0.24);
color: #5f0;
background-color: #222222;
}
/* cadre camera */
#timeline #timelineList .event .event-selectable.active:hover {
background-color: #7a7676;
}
#timeline #timelineList .event .event-selectable.active {
background-color: #2d2b2b;
}
#timeline #timelineList .event .event-selectable:hover {
background-color: #605e5e;
color: white;
}
#timeline #timelineList .event .event-selectable.active .event-time span {
color: #4fd70b;
font-size: 22px;
}
#timeline #timelineList .event .day-event.fixed {
background-color: #090808;
position: absolute;
top: 0;
left: 0;
border-top: none;
}
#timeline #timelineList .event .event-selectable.active .event-message span {
color: #d7d9d5;
font-family: ProximaNova-Light;
font-size: 18px;
}
#timeline #timelineList .event .event-selectable .event-message span {
color: #acaaaa;
font-family: ProximaNova-Light;
font-size: 13px;
}
#timeline #timelineList .event .event-selectable .event-time span {
font-family: ProximaNova-Regular;
font-size: 16px;
color: #c8c7c7;
}
#timeline #timelineList .event .event-selectable.active .event-message span.liveevent {
color: #d0021b;
background-color: #2d2b2b;
text-transform: uppercase;
font-family: ProximaNova-Medium;
font-size: 22px;
}
#timeline #timelineList .event .event-selectable .event-message span.liveevent {
color: #d0021b;
background-color: #2d2b2b00;
text-transform: none;
font-family: ProximaNova-Medium;
font-size: 22px;
}
#timeline #timelineList .event .day-event .day-number {
color: #44ec8e;
margin: 0 10px;
}
#timeline #timelineList .event .day-event .day-name {
color: #6bb142;
}
#timeline {
height: 100%;
position: relative;
/*width: 50;*/
padding-left: 15px;
overflow: hidden;
color: #4fd70b;
background-color: #222222;
}
#timeline #timelineList {
width: 100%;
padding: 40px 0 0 0;
position: relative;
background-color: #090808;
}
#persons .person-mode-selector {
background-color: #000;
border-radius: 5px 5px 0 0;
border-bottom: 1px solid #e7e7e7;
height: 25%;
}
#persons .person-list .person-thumbnail-container span .person_last_seen {
font-size: 12px;
margin-right: auto;
color: #8f958d;
}
#timeline #timelineList .event .event-selectable .event-image-wrapper .hide-line-first-event-of-day,
#timeline #timelineList .event .event-selectable .event-image-wrapper .hide-line-last-event-of-day {
position: absolute;
width: 100%;
height: calc(50% + 15px);
background-color: #090808;
}
/* info camera + option */
.home-info p {
font-family: ProximaNova-SemiBold;
font-size: 18px;
color: #72d03d;
line-height: inherit;
}
.common-subheader .param .icon.settings-admins,
.icon.settings,
.icon.camerasettings {
filter: invert(1);
}
}
.main-panel{
background-color: #090808;
}
.flot-base{
filter: invert(1);
}
#app-dashboard{
filter: invert(1);
}
CSS netatmo stylus
https://my.netatmo.com/app/security
<iframe width="100%" height="4268" src="https://snippet.echosystem.fr?embed=5ea0068999df0" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 02/09/2021
[CSS] Centrer image with text vertical
<div>
<img src="https://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/so/so-icon.svg" style="vertical-align: middle;" width="100px"/>
<span style="vertical-align: middle;">Here is some text.</span>
</div>
CSS html
<iframe width="100%" height="254" src="https://snippet.echosystem.fr?embed=5daf451ece633" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 22/10/2019
CSS text , not on hmtl page
##########################
Page HTML
##########################
<p class="impatients">
test css <br>
there is an icon and some text here on the left (this text can not be selected nor be found in the HTML source code)
</p>
<link href="testcss.css" rel="stylesheet" media="all" type="text/css">
##########################
Page CSS
##########################
testcss.css
.impatients:before {
content : 'For the impatients :';
color : #dd0044;
text-decoration : underline;
margin-right : 0.3em;
text-shadow : 0 0 0.1em #f08;
}
.impatients:after {
content : url('./favicon.png');
float : left;
}
CSS
<iframe width="100%" height="776" src="https://snippet.echosystem.fr?embed=5437c46aacc57" type="text/html"></iframe>
Texte seul - Permalink - Snippet public posté le 10/10/2014