GithubHelp home page GithubHelp logo

story-responsive-website's Introduction

Project Description

Mainly imitate a website, learn its layout and design, the site is responsive, using Bootstrap

Website theme: Building a nation of storytellers.

Project Operation

1. download the files

2. ' index.html ' open in chrome brower

Project Specific

- CSS Files ( index, public, theme )

theme.css
body {
	--theme-color: #BFDEA0;
	/* use--> color: var(--theme-color); */
	--normal-size: .875rem;
	--my-transition: all .25s ease-in;
	--md-padding: 0 30px;
	--sm-padding: 0 40px;
}

h1,
h2,
h3,
h4,
h5,
p,
span,
small {
	margin: 0;
	padding: 0;
}

- Font Files

website fonts

knockout ; gotham medium ; gotham book

- JS Files ( public)

- Html Files

Project Optimization

draw away from the public style, behavior

Project Reference and Material

Project Impression

1. I found the concept of modularity in css. I bring in the common css code from outside, and then the css of different pages is written on the head tag using internal stylesheets. It means I can write the same class name or ID name on different pages. This is similar to what I'm writing about node.

2. I solved a css problem. In general, margin-right is invalid, I do not know why there is such a problem, Baidu interpretation, standard document flow under the margin-right has no effect, need to add float. Like this:

.myResourceBox .right-img {
	width: 100%;
	float: right;
	margin-right: -18%;
}

3. I like New Zealand very much.

story-responsive-website's People

Contributors

qianyin-zhou avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.