Accueil Articles Après avoir ajouté une image d'arrière-plan pour ajouter un effet d'ombre à l'article - Station Hexo (six)

Blog Adresse Aperçu: http://www.clearlight.com.cn

Ouvrez le fichier répertoire de blog -> Thèmes -> suivant -> source -> css -> _custom -> custom.styl

Qui remplissent le code suivant:

.post-block {
  background: rgba(255, 255, 255, 0.84);
  padding: 25px;
}

// 主页文章添加阴影效果
.post {
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 0px;
  -webkit-box-shadow: 0 0 5px rgba(202, 203, 203, .5);
  -moz-box-shadow: 0 0 5px rgba(202, 203, 204, .5);
}

Insérer ici l'image Description


Une disposition spécifique: Https://Github.Com/ClearlightY/ClearlightY.Github.Io/tree/hexo

Il a publié 190 articles originaux · louange 153 won · vues 90000 +

Je suppose que tu aimes

Origine blog.csdn.net/qq_36852780/article/details/104695969
conseillé
Classement