diff --git a/Sheyna-Galen/.gitignore b/Sheyna-Galen/.gitignore new file mode 100644 index 0000000..773bfd6 --- /dev/null +++ b/Sheyna-Galen/.gitignore @@ -0,0 +1,37 @@ +# Compiled source # +################### +*.com +*.class +*.dll +*.exe +*.o +*.so + +# Packages # +############ +# it's better to unpack these files and commit the raw source +# git has its own built in compression methods +*.7z +*.dmg +*.gz +*.iso +*.jar +*.rar +*.tar +*.zip + +# Logs and databases # +###################### +*.log +*.sql +*.sqlite + +# OS generated files # +###################### +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db diff --git a/Sheyna-Galen/Index.html b/Sheyna-Galen/Index.html new file mode 100755 index 0000000..12ac6df --- /dev/null +++ b/Sheyna-Galen/Index.html @@ -0,0 +1,118 @@ + + + + Kenyon Institute + + + + + + + +
+ +
+ +
+

Main Introduction

+

Lorem ipsum dolor sit amet, + consectetur adipiscing elit. Maecenas in mi urna. + Phasellus rhoncus tempor velit, vitae finibus felis. + Vestibulum tempor justo ante, a tincidunt purus + dignissim eu. Quisque maximus ut lorem suscipit + molestie. Nullam interdum ante et maximus varius. + Cum sociis natoque penatibus et magnis dis parturient + montes, nascetur ridiculus mus. Proin interdum tellus + tortor, sit amet placerat lectus gravida quis.

+
+ +
+

Programs

+ +
+

Sample Header

+

+

Lorem ipsum dolor sit amet, consectetur adipiscing + elit. Maecenas in mi urna. Phasellus rhoncus tempor + velit, vitae finibus felis.

+ +
+ +
+

Sample Header

+

+

Lorem ipsum dolor sit amet, consectetur adipiscing + elit. Maecenas in mi urna. Phasellus rhoncus tempor + velit, vitae finibus felis.

+ +
+ +
+

Sample Header

+

+

Lorem ipsum dolor sit amet, consectetur adipiscing + elit. Maecenas in mi urna. Phasellus rhoncus tempor + velit, vitae finibus felis.

+ +
+
+ +
+ + + +
+ +
+

feature and Speakers

+ +
+ +
Professor Name
+

Professor Title and Department

+
+ +
+ +
Professor Name
+

Professor Title and Department

+
+ +
+ +
Professor Name
+

Professor Title and Department

+
+ +
+ +
Professor Name
+

Professor Title and Department

+
+
+ + + diff --git a/Sheyna-Galen/README.md b/Sheyna-Galen/README.md new file mode 100644 index 0000000..794714a --- /dev/null +++ b/Sheyna-Galen/README.md @@ -0,0 +1,21 @@ +#Refactor Another Team's Project +###Sheyna and Galen's refactor of Loann and Marissa's Core CSS Site + +For Code Fellow's UX/Front End Accelerator. +Images from [morguefile.com](morguefile.com) + +##Major Changes +- CSS Formatting + - Fixed spacing in rule and property declarations + - Updated commented section names +- Fix BEM + - Change class names to be more semantic - ie .main into .hero + - Removed complex class names that could be easily accessed by selector - ie .profile__header into .profile figcaption +- Class Compression + - Combined redundant numbered classes + - Made class for page subheaders + - Cleaned up .feature and made it more modular (modifies both Events and Profile sections) + - Anonymized the Color classes into .color1, .color2, .color3 +- Cosmetic + - Add images to .feature boxes + - Change Form Submit Button diff --git a/Sheyna-Galen/css/reset.css b/Sheyna-Galen/css/reset.css new file mode 100755 index 0000000..af94440 --- /dev/null +++ b/Sheyna-Galen/css/reset.css @@ -0,0 +1,48 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file diff --git a/Sheyna-Galen/css/style.css b/Sheyna-Galen/css/style.css new file mode 100755 index 0000000..0d6abbf --- /dev/null +++ b/Sheyna-Galen/css/style.css @@ -0,0 +1,190 @@ +* { + -moz-box-sizing: border-box; /* Firefox 1, probably can drop this */ + -webkit-box-sizing: border-box; /* Safari 3-4, also probably droppable */ + box-sizing: border-box; /* Everything else */ +} + +body{ + font-size: 1em; +} + +.clearfix:after { + content: ""; + visibility: hidden; + display: block; + height: 0; + clear: both; +} + +.headline-subhead { + text-align: center; + margin: 3% 0; + text-transform: uppercase; + font-size: 20px; + color: gray; +} + +/* nav */ + +.main-nav { + width: 100%; + height: 3em; + padding: 5% 0; + text-align: center; +} + +.main-nav__item { + display: inline-block; +} + +.main-nav__item a { + color: white; + margin: 0 1em; + font-size: 1.5em; + text-decoration: none; +} + +/* hero */ + +.hero { + background-color: MediumOrchid; + height: 35%; + padding: 5% 0; + text-align: center; +} + +.hero__title { + color: white; + font-size: 5em; + width: 100%; +} + +.hero__text { + color: white; + font-size: 1em; + line-height: 1.5em; + width: 600px; + margin: auto; +} + +/* feature */ + +.feature { + text-align: center; + display: block; + width: 100%; +} + +.feature__box { + padding: 3%; + width: 100%; + color: white; + display: inline-block; + font-size: 1em; +} + +.feature__box h2 { + font-size: 1.3em; +} + +.feature__box h3 { + margin: 0.4em auto; +} + +.feature__box img{ + margin: 0.6em auto -0.6em auto; +} + +/* profile section */ + +.profile { + display: inline-block ; + padding: 1%; + color: gray; + margin-bottom: 20%; +} + +.profile figcaption { + margin-top: 3px; + line-height: 1.5em; + font-weight: bold; +} + +/* color */ + +.color1 { + background-color: SkyBlue; +} + +.color2 { + background-color: LemonChiffon; + color: gray; +} + +.color3 { + background-color: MediumSeaGreen; +} + +/* form section */ + +.sign-up{ + text-align: center; + display: block; + font-size: 1.25em; + cursor: pointer; + height: 60px; + margin: 10% 0; +} + +.sign-up__field { + margin-top: 20px; + width: 275px; + height: 35px; + padding: 2px; +} + +.sign-up__btn { + background-color: MediumOrchid; + width: 80px; + height: 35px; + color: white; +} + +/* Layout */ + +.col_3_of_3 { + width: 100%; +} + +.col_1_of_3 { + width: 25.25%; +} + +.col_4_of_4 { + width: 100%; +} + +.col_1_of_4 { + width: 21%; +} + +/* State */ + +@media only screen and (max-width: 480px) { + .col_3_of_3 { + width: 100%; + } + + .col_1_of_3 { + width: 100%; + } +} + +@media only screen and (max-width: 480px) { + .col_4_of_4 { + width: 100%; + } + .col_1_of_4 { + width: 100%; + } +} diff --git a/Sheyna-Galen/img/icon1.gif b/Sheyna-Galen/img/icon1.gif new file mode 100644 index 0000000..0d40a25 Binary files /dev/null and b/Sheyna-Galen/img/icon1.gif differ diff --git a/Sheyna-Galen/img/icon2.gif b/Sheyna-Galen/img/icon2.gif new file mode 100644 index 0000000..3d5f65c Binary files /dev/null and b/Sheyna-Galen/img/icon2.gif differ diff --git a/Sheyna-Galen/img/icon3.gif b/Sheyna-Galen/img/icon3.gif new file mode 100644 index 0000000..9644c6a Binary files /dev/null and b/Sheyna-Galen/img/icon3.gif differ diff --git a/Sheyna-Galen/img/professor_davis.jpg b/Sheyna-Galen/img/professor_davis.jpg new file mode 100644 index 0000000..687232e Binary files /dev/null and b/Sheyna-Galen/img/professor_davis.jpg differ diff --git a/Sheyna-Galen/img/professor_green.jpg b/Sheyna-Galen/img/professor_green.jpg new file mode 100644 index 0000000..358a3ae Binary files /dev/null and b/Sheyna-Galen/img/professor_green.jpg differ diff --git a/Sheyna-Galen/img/professor_keller.jpg b/Sheyna-Galen/img/professor_keller.jpg new file mode 100644 index 0000000..7ad97e7 Binary files /dev/null and b/Sheyna-Galen/img/professor_keller.jpg differ diff --git a/Sheyna-Galen/img/professor_smith.jpg b/Sheyna-Galen/img/professor_smith.jpg new file mode 100644 index 0000000..a99ba2d Binary files /dev/null and b/Sheyna-Galen/img/professor_smith.jpg differ diff --git a/Sheyna-Galen/img/profile.jpg b/Sheyna-Galen/img/profile.jpg new file mode 100755 index 0000000..0aa404e Binary files /dev/null and b/Sheyna-Galen/img/profile.jpg differ