songtianlun
2d8a32478c
- Moved universal styles, typography, header, and footer styles from application.scss to custom.scss for better organization. - Introduced SCSS variables for colors to enhance maintainability. - Updated the hover state for the logo and footer links to use the new color variable. This change improves the structure of the stylesheets, making it more manageable and easier to maintain in the future.
19 lines
747 B
SCSS
19 lines
747 B
SCSS
/*
|
|
* This is a manifest file that'll be compiled into application.css.
|
|
*
|
|
* With Propshaft, assets are served efficiently without preprocessing steps. You can still include
|
|
* application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
|
|
* cascading order, meaning styles declared later in the document or manifest will override earlier ones,
|
|
* depending on specificity.
|
|
*
|
|
* Consider organizing styles into separate files for maintainability.
|
|
* 把 app/assets/stylesheets 目录中的所有 CSS 文件(包含子目录中的文件)都引入应用的 CSS 文件
|
|
*= require_tree .
|
|
* 把当前文件中的 CSS 也加载进来。
|
|
*= require_self
|
|
*/
|
|
|
|
@import "bootstrap-sprockets";
|
|
@import "bootstrap";
|
|
|