# 彩色手写笔记风格模板 ## 风格特点 这是一个模拟真实手写笔记的信息图风格,特点包括: - 🎨 **多种颜色笔标注** - 红、蓝、绿、橙、紫、粉6种颜色 - 🖍️ **荧光笔高亮** - 5种荧光笔颜色高亮重点 - ✏️ **手写字体** - 使用类手写的友好字体 - 📓 **笔记本效果** - 带横线的笔记本背景 - 📌 **便签纸** - 不同颜色的便签效果 - 🎯 **多样标注** - 圆圈、下划线、时间线等 ## 适用场景 - 📚 学习笔记整理 - 📖 读书笔记总结 - 🎓 知识体系梳理 - 💡 概念讲解图表 - 📝 课程内容总结 ## CSS样式模板 ### 基础设置 ```css /* 使用系统可用字体,避免外部加载 */ body { font-family: 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif; line-height: 1.8; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); padding: 40px; } .container { background: #fffff8; /* 笔记本横线效果 */ background-image: repeating-linear-gradient( transparent, transparent 31px, #e5e5e5 31px, #e5e5e5 32px ); border-radius: 10px; padding: 60px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); } /* 笔记本左侧红线 */ .container::before { content: ''; position: absolute; left: 80px; top: 0; bottom: 0; width: 2px; background: #ffcccc; } ``` ### 颜色笔标注 ```css /* 不同颜色的笔标注 */ .red-pen { color: #e74c3c; font-weight: bold; text-shadow: 1px 1px 0px rgba(231, 76, 60, 0.3); } .blue-pen { color: #3498db; font-weight: bold; text-shadow: 1px 1px 0px rgba(52, 152, 219, 0.3); } .green-pen { color: #27ae60; font-weight: bold; text-shadow: 1px 1px 0px rgba(39, 174, 96, 0.3); } .orange-pen { color: #f39c12; font-weight: bold; text-shadow: 1px 1px 0px rgba(243, 156, 18, 0.3); } .purple-pen { color: #9b59b6; font-weight: bold; text-shadow: 1px 1px 0px rgba(155, 89, 182, 0.3); } .pink-pen { color: #e91e63; font-weight: bold; text-shadow: 1px 1px 0px rgba(233, 30, 99, 0.3); } ``` ### 荧光笔高亮 ```css /* 荧光笔高亮效果 - 从60%开始,到85%结束,模拟真实荧光笔 */ .highlight-yellow { background: linear-gradient(180deg, transparent 60%, #fff176 60%, #fff176 85%, transparent 85%); padding: 2px 4px; font-weight: 600; } .highlight-green { background: linear-gradient(180deg, transparent 60%, #aed581 60%, #aed581 85%, transparent 85%); padding: 2px 4px; font-weight: 600; } .highlight-pink { background: linear-gradient(180deg, transparent 60%, #f48fb1 60%, #f48fb1 85%, transparent 85%); padding: 2px 4px; font-weight: 600; } .highlight-blue { background: linear-gradient(180deg, transparent 60%, #81d4fa 60%, #81d4fa 85%, transparent 85%); padding: 2px 4px; font-weight: 600; } .highlight-orange { background: linear-gradient(180deg, transparent 60%, #ffab91 60%, #ffab91 85%, transparent 85%); padding: 2px 4px; font-weight: 600; } ``` ### 手写下划线 ```css /* 手写下划线效果 */ .underline-wavy { text-decoration: underline wavy #e74c3c; text-decoration-thickness: 2px; text-underline-offset: 3px; } .underline-double { border-bottom: 3px double #3498db; padding-bottom: 2px; } ``` ### 手写圆圈标注 ```css /* 手写圆圈标注 */ .circle-mark { display: inline-block; border: 3px solid #e74c3c; border-radius: 50%; padding: 5px 12px; margin: 0 5px; font-weight: bold; } ``` ### 手写字体系列 ```css /* 不同字体样式 - 使用系统字体 */ .font-handwriting { font-family: 'Brush Script MT', 'Comic Sans MS', cursive; font-size: 1.2em; line-height: 1.4; } .font-marker { font-family: 'Impact', 'Arial Black', 'Comic Sans MS', cursive; letter-spacing: 1px; } .font-indie { font-family: 'Bradley Hand', 'Comic Sans MS', cursive; font-size: 1.1em; } .font-patrick { font-family: 'Chalkboard', 'Comic Sans MS', cursive; font-size: 1.1em; } ``` ### 便签纸效果 ```css /* 便签纸效果 */ .sticky-note { background: #fef9c7; padding: 20px; margin: 20px 0; border-radius: 5px; box-shadow: 5px 5px 15px rgba(0,0,0,0.2); transform: rotate(-2deg); font-family: 'Chalkboard', 'Comic Sans MS', cursive; font-size: 18px; border-top: 30px solid #f9e79f; position: relative; } .sticky-note::before { content: '📌'; position: absolute; top: -25px; right: 20px; font-size: 24px; } .sticky-note.blue { background: #d6eaf8; border-top-color: #85c1e9; } .sticky-note.pink { background: #fadbd8; border-top-color: #f1948a; } .sticky-note.green { background: #d5f4e6; border-top-color: #82e0aa; } ``` ### 卡片样式 ```css /* 卡片样式 */ .card { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); border: 3px solid transparent; transition: all 0.3s ease; position: relative; } /* 卡片右上角的小圆点装饰 */ .card::before { content: ''; position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; background: #ffd54f; opacity: 0.3; border-radius: 50%; } .card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 8px 25px rgba(0,0,0,0.15); } /* 不同颜色边框的卡片 */ .card.red-border { border-color: #e74c3c; } .card.blue-border { border-color: #3498db; } .card.green-border { border-color: #27ae60; } .card.purple-border { border-color: #9b59b6; } .card.orange-border { border-color: #f39c12; } ``` ### 时间线设计 ```css /* 时间线样式 */ .timeline { position: relative; padding: 30px 0; margin: 40px 0; } /* 彩色渐变时间线 */ .timeline::before { content: ''; position: absolute; left: 30px; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, #e74c3c, #3498db, #27ae60, #f39c12, #9b59b6); } .timeline-marker { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 24px; font-family: 'Impact', 'Arial Black', cursive; box-shadow: 0 4px 10px rgba(0,0,0,0.3); } .timeline-marker.red { background: linear-gradient(135deg, #e74c3c, #c0392b); } .timeline-marker.blue { background: linear-gradient(135deg, #3498db, #2980b9); } .timeline-marker.green { background: linear-gradient(135deg, #27ae60, #229954); } ``` ### 重点标记框 ```css /* 重点标记框 */ .important-box { background: linear-gradient(135deg, #fff5f5, #ffe5e5); border: 4px solid #e74c3c; border-radius: 15px; padding: 30px; margin: 30px 0; position: relative; box-shadow: 0 5px 20px rgba(231, 76, 60, 0.2); } .important-box::before { content: '⭐ 重点'; position: absolute; top: -18px; left: 30px; background: #e74c3c; color: white; padding: 5px 20px; border-radius: 20px; font-weight: bold; font-family: 'Impact', 'Arial Black', cursive; box-shadow: 0 3px 8px rgba(0,0,0,0.2); } ``` ### 技术标签 ```css /* 技术标签 */ .tech-tag { padding: 8px 18px; border-radius: 25px; font-size: 15px; font-weight: 600; font-family: 'Bradley Hand', 'Comic Sans MS', cursive; box-shadow: 3px 3px 8px rgba(0,0,0,0.15); transition: all 0.3s ease; } .tech-tag:hover { transform: scale(1.1) rotate(-3deg); } .tech-tag.red { background: linear-gradient(135deg, #ff6b6b, #ee5a6f); color: white; } .tech-tag.blue { background: linear-gradient(135deg, #4ecdc4, #44a8b3); color: white; } .tech-tag.green { background: linear-gradient(135deg, #95e1d3, #7ececa); color: #2d3436; } .tech-tag.yellow { background: linear-gradient(135deg, #ffe66d, #f9ca24); color: #2d3436; } .tech-tag.purple { background: linear-gradient(135deg, #a29bfe, #6c5ce7); color: white; } .tech-tag.orange { background: linear-gradient(135deg, #fdcb6e, #e17055); color: white; } ``` ## 使用示例 ### HTML结构示例 ```html
关键术语 = 重点内容 + 核心思想
这是一个蓝色便签, 用于记录补充信息
步骤描述...