We all know it’s a bad idea to customize the default WordPress theme templates because when updating it would wipe out your edits.
Instead, we create a child theme. To do this, first we create a new theme folder. Then comes the CSS style.css file with the following meta comment at the top, followed by the import of the twenty twelve styles.
/*
Theme Name: Twenty Twelve Child
Theme URI: http://example.com/
Description: Child theme for the Twenty Twelve theme
Author: Your name here
Author URI: http://example.com/about/
Template: twentytwelve
Version: 0.1.0
*/
@import “../twentytwelve/style.css”;
For more information, check out the WordPress Codex on Child Themes.