Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="card card-001 card-cc">
  <div class="card__wrapper">
    <aside class="card__aside">
      <h1 class="card__aside__parent-title">
        <section class="card__aside__title"><span class="card__aside__title__first">C<span class="card__aside__title__logo"><span class="card__aside__title__logo__inner">o</span></span>up</span><span class="card__aside__title__second">critique</span></section>
      </h1><img class="card__aside__logo" src="https://www.coup-critique.com/media/images/logo_white.png" alt="Coup critique">
      <h2 class="card__aside__category"><span class="card__aside__category__title">Café critique</span> <span class="card__aside__category__number">#001</span></h2>
    </aside>
    <header class="card__header">
      <div class="card__header__title">
        <h1>Pensée critique</h1>
      </div>
    </header>
    <section class="card__content">
      <div class="card__content__lead">
        <p>Parce que c'est la base pour comprendre le but de coup critique :</p>
        <p class="is-important"><strong>Qu'est-ce que la pensée critique ?</strong></p>
        <p><small>Donnons donc tout de suite une définition :</small></p>
        <p class="is-important"><strong>La pensée critique, c'est l'analyse objective de faits<br>dans le but de formuler un avis ou un jugement.</strong></p>
      </div>
      <ul class="card__content__list">
        <li class="card__content__list__item">
          <h2>Objectivité</h2>
          <p>Pour être objectif, nous devons être dans un état d'esprit appelé</p>
          <p class="is-important"><strong>Suspension du jugement</strong></p>
          <p class="is-near"><small>(appelée <strong>époché</strong> en philosophie)</small></p>
          <p>Nous avons toujours un avis a priori, que nous allons devoir mettre de côté. C'est une tâche difficile, car notre raisonnement est entâché de biais.</p>
        </li>
        <li class="card__content__list__item">
          <h2>Faits</h2>
          <p>Le recueil des faits va nécessiter une évaluation précise en matière de</p>
          <p class="is-important"><strong>Fiabilité des sources</strong></p>
          <p class="is-near"><small>(qui n'a pas vraiment d'autre nom)</small></p>
          <p>Le plus gros obstacle étant que notre mémoire elle-même se révèle en réalité une source assez peu fiable. Il y a donc du pain sur la planche à ce sujet.</p>
        </li>
      </ul>
      <ul class="card__content__list">
        <li class="card__content__list__item">
          <h2>L'enfer, c'est les autres</h2>
          <p class="is-near"><small>(Ce qui ferait un excellent slogan pour Facebook)</small></p>
          <p>Il faudra enfin et surtout être vigilant aux propos des autres et savoir déceler les différentes formes de la</p>
          <p class="is-important"><strong>Mauvaise foi</strong></p>
          <p>Les gens émettent des opinions qui visent à servir leurs propres intérêts plutôt qu'à être objectives.</p>
        </li>
      </ul>
      <div class="card__content__conclusion">
        <p>La pensée critique, c'est donc savoir <strong>penser par soi-même</strong><br>de façon rigoureuse dans un but d'<strong>autodéfense intellectuelle</strong><br>contre des idées résultant d'une pensée pas critique du tout.</p>
      </div>
    </section>
    <footer class="card__footer">
      <div class="card__footer__credit">
        <h2>Crédits</h2>
        <ul>
          <li>Texte et design : <a href="https://www.facebook.com/pg/CoupEspritCritique/" target="_blank">Monsieur Z</a></li>
          <li>Mise en page : <a href="https://www.lesieur.name/zetetique/" target="_blank">Z'êtes Éthique</a></li>
        </ul>
      </div>
      <div class="card__footer__about">
        <h2>À propos</h2>
        <ul>
          <li>v1.1.0</strong>
          </li>
          <li><a href="https://www.facebook.com/CoupEspritCritique/" target="_blank">fb.me/CoupEspritCritique</a></li>
        </ul>
      </div>
    </footer>
  </div>
</div>
            
          
!
            
              @font-face {
  font-family: 'Destroy';
  src: url('https://cdn.rawgit.com/Haeresis/BookAtlas/develop/assets/fonts/Destroy.eot?#iefix') format('embedded-opentype'),  url('https://cdn.rawgit.com/Haeresis/BookAtlas/develop/assets/fonts/Destroy.woff') format('woff'), url('https://cdn.rawgit.com/Haeresis/BookAtlas/develop/assets/fonts/Destroy.ttf')  format('truetype'), url('https://cdn.rawgit.com/Haeresis/BookAtlas/develop/assets/fonts/Destroy.svg#Destroy') format('svg');
  font-weight: normal;
  font-style: normal;
}

body
  background-color #000
  margin 0
  padding 0
  font-family 'Open Sans', Arial, sans-serif
  
.card
	line-height 1.15
	position absolute
	color #fff
	height 100%
	width 100%

	strong
		font-style italic

		^[0].card-cc ^[1..1]
			color #ff00fb

		^[0].card-mcem ^[1..1]
			color #04fdff

		^[0].card-aqtc ^[1..1]
			color #07f40f

		^[0].card-lmdj ^[1..1]
			color #ffdd40

	ul
		margin 0
		padding 0
		list-style-type none

	&__wrapper
		overflow-y scroll
		height 100%
		width 100%

	&__aside
	&__content
	&__header
	&__footer
		font-family 'Open Sans', Arial, sans-serif
		max-width 100vmin
		margin-left auto
		margin-right auto

	&__content
	&__header
	&__footer
		position relative
		z-index 2

	a
		text-decoration none
		&:hover
			text-decoration underline

		^[0].card-cc ^[1..1]
			color #ff00fb

		^[0].card-mcem ^[1..1]
			color #04fdff

		^[0].card-aqtc ^[1..1]
			color #07f40f

		^[0].card-lmdj ^[1..1]
			color #ffdd40

	&__aside
		display flex
		justify-content space-between
		order 1

		&__parent-title
			cursor pointer
			order 2
			margin 1.2vmin 1.6vmin

		&__category
			font-size 2.2vmin
			margin 1.6vmin
			text-transform uppercase
			order 1
			font-family Destroy
			text-shadow 0.1vmin 0.1vmin 0.1vmin #444, -0.1vmin 0.1vmin 0.1vmin #444, 0.1vmin -0.1vmin 0.1vmin #444, -0.1vmin -0.1vmin 0.1vmin #444

		&__logo
			position absolute
			top 50%
			left 50%
			z-index 1
			transform translate(-50%, -50%)
			opacity 0.2
			width 70vmin

		&__title
			text-transform uppercase
			font-size 2.2vmin
			text-shadow 0.1vmin 0.1vmin 0.1vmin #d26769, -0.1vmin 0.1vmin 0.1vmin #d26769, 0.1vmin -0.1vmin 0.1vmin #d26769, -0.1vmin -0.1vmin 0.1vmin #d26769
			color #fff
			font-family Destroy

			&__logo
				background-position center -0.5vmin;
				background-size 4vmin
				background-image url('https://www.coup-critique.com/media/images/logo_white.png')
				width 2.6vmin
				height 2.6vmin
				vertical-align middle
				display inline-block

				&__inner
					display none

			&__second
				display block
				margin-left 2vmin

	&__footer
		display flex
		justify-content space-between
		order 4
		margin-top 24px

		h2
			margin .1vmin 0
			font-size 1.6vmin

		li
			margin .1vmin 0
			font-size 1.2vmin

		&__credit
			margin 0 1.6vmin 1.6vmin 1.6vmin

		&__about
			margin 0 1.6vmin 1.6vmin 1.6vmin
			text-align right

	&__header
		h1
			text-align center
			font-size 6.2vmin
			text-transform uppercase
			color #fff
			font-weight normal
			font-style normal
			font-family Destroy
			margin 3.2vmin 1.6vmin

			^[0].card-cc ^[0..2]
				text-shadow 0.1vmin 0.1vmin 0.1vmin #ff00fb, -0.1vmin 0.1vmin 0.1vmin #ff00fb, 0.1vmin -0.1vmin 0.1vmin #ff00fb, -0.1vmin -0.1vmin 0.1vmin #ff00fb

			^[0].card-mcem ^[0..2]
				text-shadow 0.1vmin 0.1vmin 0.1vmin #04fdff, -0.1vmin 0.1vmin 0.1vmin #04fdff, 0.1vmin -0.1vmin 0.1vmin #04fdff, -0.1vmin -0.1vmin 0.1vmin #04fdff

			^[0].card-aqtc ^[0..2]
				text-shadow 0.1vmin 0.1vmin 0.1vmin #07f40f, -0.1vmin 0.1vmin 0.1vmin #07f40f, 0.1vmin -0.1vmin 0.1vmin #07f40f, -0.1vmin -0.1vmin 0.1vmin #07f40f

			^[0].card-lmdj ^[0..2]
				text-shadow 0.1vmin 0.1vmin 0.1vmin #ffdd40, -0.1vmin 0.1vmin 0.1vmin #ffdd40, 0.1vmin -0.1vmin 0.1vmin #ffdd40, -0.1vmin -0.1vmin 0.1vmin #ffdd40

			^[0].card-mcem.card-001 ^[0..2]
				text-align left
				margin: 3.2vmin 5vmin;

				span
					display block
					margin-left 20vmin

	&__content
		margin 0 auto

		h2
			font-size 3.2vmin
			margin 0.8vmin 1.6vmin
			font-style italic
			font-weight bold

			^[0].card-cc ^[0..2]
				color #ff00fb

			^[0].card-mcem ^[0..2]
				color #04fdff

			^[0].card-aqtc ^[0..2]
				color #07f40f

			^[0].card-lmdj ^[0..2]
				color #ffdd40

		h3
			font-size 2.8vmin
			margin 0.8vmin 1.6vmin
			font-style italic
			font-weight bold

			^[0].card-cc ^[0..2]
				color #ff00fb

			^[0].card-mcem ^[0..2]
				color #04fdff

			^[0].card-aqtc ^[0..2]
				color #07f40f

			^[0].card-lmdj ^[0..2]
				color #ffdd40

		h4
			font-size 2.4vmin
			margin 0.8vmin 1.6vmin
			font-style italic
			font-weight bold

		small
			font-size 70%
			display inline-block

			^[0].card-mcem.card-001 ^[0..2]
				font-style italic

		p
			font-size 2.8vmin
			margin 0.8vmin 1.6vmin
			text-align justify

		.is-center
			text-align center

			^[0].card-lmdj.card-001 ^[0..2]
				margin 2.4vmin 3.2vmin
				text-align-last center

		.is-far
			margin-top 3.2vmin

		.is-near
			margin-top -.8vmin
			line-height 1.30

			^[0].card-cc.card-001 ^[0..2]
				margin-top -1vmin

			^[0].card-aqtc.card-001 ^[0..2]
				margin-bottom 2vmin

		.is-right
			float right

			^[0].card-lmdj.card-001 ^[0..2]
				img
					height 19vmin

		&__lead
			h2
				^[0].card-lmdj.card-001 ^[0..3]
					margin-top 3.2vmin
					margin-bottom 3.2vmin
					font-size 5vmin
					text-align center
					text-transform uppercase

			p
				^[0].card-cc.card-001 ^[0..3]
					text-align center

			ul
				^[0].card-lmdj.card-001 ^[0..3]
					margin 2.4vmin 4vmin
					font-size 3.2vmin

				strong
					display inline-block
					width 19vmin

			.is-important
				margin-bottom 2.4vmin
				font-size 3.6vmin

		&__list

			^[0].card-cc.card-001 ^[0..2]
				display flex
				flex-wrap wrap
				justify-content space-around

			^[0].card-lmdj.card-001 ^[0..2]
				border-top 1px solid #ffdd40
				border-bottom 1px solid #ffdd40
				display flex
				flex-wrap wrap
				justify-content space-between
				margin 0
				margin-bottom 2.4vmin
				padding 0
				list-style-type none

			.is-important
				font-size 2.6vmin

				^[0].card-cc.card-001 ^[0..3]
					margin-top 1vmin

			h2
				^[0].card-mcem.card-001 ^[0..3]
					margin 3.2vmin 1.6vmin -0.8vmin 4.8vmin
					text-transform uppercase

				^[0].card-aqtc.card-001 ^[0..3]
					display inline-block
					text-transform uppercase
					margin 0.8vmin 1.6vmin 0.8vmin 20vmin
					width 17vmin

			p
				^[0].card-cc.card-001 ^[0..3]
					font-size 1.92vmin
					margin 0.8vmin 3.2vmin
					text-align-last center

				^[0].card-aqtc.card-001 ^[0..3]
					display inline-block
					font-size 3.2vmin
					margin 1.6vmin
					font-weight bold
					font-style italic

			&__item
				^[0].card-cc.card-001 ^[0..3]
					text-align center
					width 42vmin

				^[0].card-lmdj.card-001 ^[0..3]
					text-align left
					margin-top 2vmin
					margin-bottom 2vmin

					&:nth-child(1)
						width 5%

					&:nth-child(2)
					&:nth-child(3)
						width 45%

					p
						font-size 2vmin
						text-align left

					h2
						transform rotate(-90deg)
						white-space nowrap
						margin-left 0
						margin-top 25vmin
						font-size 3.6vmin

					h3
						margin 0 1.6vmin 0.8vmin

		&__conclusion

			p
				^[0].card-cc.card-001 ^[0..3]
					margin 0.8vmin 3.2vmin
					text-align-last center
            
          
!
            
              var title = document.querySelector('.card__header__title h1'),
    category = document.querySelector('.card__aside__category');

title.innerHTML = title.innerHTML.replace(/é/g, 'e');
category.innerHTML = category.innerHTML.replace(/é/g, 'e');


            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console