Difference between revisions of "Team:UCSC/new-testing"

Line 1: Line 1:
{{:Team:UCSC/Reset-Styles}}
+
<!DOCTYPE html>
 +
<html lang="en">
 +
<head>
 +
    <meta charset="UTF-8">
 +
    <title>Document</title>
 +
    <link href="https://fonts.googleapis.com/css?family=Oswald&display=swap" rel="stylesheet">
  
<html>
+
 
<style>
+
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700i" rel="stylesheet">
 +
 
 +
    <style>
 +
 
 +
        *{
 +
            margin: 0;
 +
            padding: 0;
 +
        }
 
.timeline {
 
.timeline {
 
   display: flex;
 
   display: flex;
Line 9: Line 21:
 
   flex-direction: column;
 
   flex-direction: column;
 
   max-width: 700px;
 
   max-width: 700px;
   position: relative;  
+
   position: relative;
 
}
 
}
 
+
.timeline__content-title {
.timeline-content-title {
+
  font-weight: normal;
  font-weight: normal;
+
  font-size: 66px;
  font-size: 59px;
+
  margin: -10px 0 0 0;
  margin: -10px 0 0 0;
+
  transition: 0.4s;
  transition: 0.4s;
+
 
   padding: 0 10px;
 
   padding: 0 10px;
 
   box-sizing: border-box;
 
   box-sizing: border-box;
   color: #333333;
+
  font-family: 'Oswald', sans-serif;
 +
   color: #fff;
 
}
 
}
 
+
.timeline__content-desc {
.timeline-content-desc{  
+
 
   margin: 0;
 
   margin: 0;
   font-size: 18px;
+
   font-size: 15px;
 
   box-sizing: border-box;
 
   box-sizing: border-box;
   color: #333333;
+
   color: rgba(255, 255, 255, .7);
 +
  font-family: 'Roboto Condensed', sans-serif;
 
   font-weight: normal;
 
   font-weight: normal;
  line-height: 25px;
+
  line-height: 25px;
 
}
 
}
 
 
.timeline:before {
 
.timeline:before {
 
   position: absolute;
 
   position: absolute;
  left: 50%;
+
  left: 50%;
  width: 2px;
+
  width: 2px;
  height: 100%;
+
  height: 100%;
 
   margin-left: -1px;
 
   margin-left: -1px;
  content: "";
+
  content: "";
 +
  background: rgba(255, 255, 255, .07);
 
}
 
}
 
+
@media only screen and (max-width: 767px) {
@media only screen and(max-width: 777px) {
+
 
   .timeline:before {
 
   .timeline:before {
        left: 40px;
+
    left: 40px;
    }
+
  }
 
}
 
}
 
 
 
.timeline-item {
 
.timeline-item {
 
   padding: 40px 0;
 
   padding: 40px 0;
 
   opacity: 0.3;
 
   opacity: 0.3;
  filter: blue(2px);
+
  filter: blur(2px);
  transition: 0.5s;
+
  transition: 0.5s;
  box-sizing: border-box;
+
  box-sizing: border-box;
  width: calc(50% -40px);
+
  width: calc(50% - 40px);
 
   display: flex;
 
   display: flex;
 
   position: relative;
 
   position: relative;
 
   transform: translateY(-80px);
 
   transform: translateY(-80px);
 
}
 
}
 
+
.timeline-item:before {
.timeline-item:before{
+
 
   content: attr(data-text);
 
   content: attr(data-text);
 
   letter-spacing: 3px;
 
   letter-spacing: 3px;
  width: 100%;
+
  width: 100%;
  position: absolute;
+
  position: absolute;
   font-size: 18px;
+
  color: rgba(255, 255, 255, .5);
   border-left: 2px solid rgba(255, 255, 255, 0.5);
+
   font-size: 13px;
top: 70%;
+
  font-family: 'Pathway Gothic One', sans-serif;
margin-top: -5px;
+
   border-left: 2px solid rgba(255, 255, 255, .5);
 +
  top: 70%;
 +
  margin-top: -5px;
 
   padding-left: 15px;
 
   padding-left: 15px;
 
   opacity: 0;
 
   opacity: 0;
right: calc(-100% -55px);
+
  right: calc(-100% - 56px);
 
+
}
 
.timeline-item:nth-child(even) {
 
.timeline-item:nth-child(even) {
 
   align-self: flex-end;
 
   align-self: flex-end;
}
+
}
 
.timeline-item:nth-child(even):before {
 
.timeline-item:nth-child(even):before {
  right:auto;
+
  right: auto;
  text-align: right;
+
  text-align: right;
  left: calc(-100% -55px);
+
  left: calc(-100% - 56px);
  padding-left: 0;
+
  padding-left: 0;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
+
  border-left: none;
  padding-right: 15px;
+
  border-right: 2px solid rgba(255, 255, 255, .5);
 +
  padding-right: 15px;
 
}
 
}
 
+
.timeline-item--active {
.timeline-item-active {  
+
 
   opacity: 1;
 
   opacity: 1;
 
   transform: translateY(0);
 
   transform: translateY(0);
   filter: blue(0px);
+
   filter: blur(0px);
 +
}
 +
.timeline-item--active:before {
 +
  top: 50%;
 +
  transition: 0.3s all 0.2s;
 +
  opacity: 1;
 +
}
 +
.timeline-item--active .timeline__content-title {
 +
  margin: -50px 0 20px 0;
 +
}
 +
@media only screen and (max-width: 767px) {
 +
  .timeline-item {
 +
    align-self: baseline !important;
 +
    width: 100%;
 +
    padding: 0 30px 150px 80px;
 +
  }
 +
  .timeline-item:before {
 +
    left: 10px !important;
 +
    padding: 0 !important;
 +
    top: 50px;
 +
    text-align: center !important;
 +
    width: 60px;
 +
    border: none !important;
 +
  }
 +
  .timeline-item:last-child {
 +
    padding-bottom: 40px;
 +
  }
 +
}
 +
.timeline__img {
 +
  max-width: 100%;
 +
  box-shadow: 0 10px 15px rgba(0, 0, 0, .4);
 +
}
 +
.timeline-container {
 +
  width: 100%;
 +
  position: relative;
 +
  padding: 80px 0;
 +
  transition: 0.3s ease 0s;
 +
  background-attachment: fixed;
 +
  background-size: cover;
 +
}
 +
.timeline-container:before {
 +
  position: absolute;
 +
  left: 0;
 +
  top: 0;
 +
  width: 100%;
 +
  height: 100%;
 +
background: rgba(0,0,0,0.6);
 +
  content: "";
 +
}
 +
.timeline-header {
 +
  width: 100%;
 +
  text-align: center;
 +
  margin-bottom: 80px;
 +
  position: relative;
 +
}
 +
.timeline-header__title {
 +
  color: #fff;
 +
  font-size: 58px;
 +
  font-family: 'Oswald', sans-serif;
 +
  font-weight: normal;
 +
  margin: 0;
 +
}
 +
.timeline-header__subtitle {
 +
  color: rgba(255, 255, 255, .5);
 +
  font-family: 'Pathway Gothic One', sans-serif;
 +
  font-size: 16px;
 +
  letter-spacing: 5px;
 +
  margin: 10px 0 0 0;
 +
  font-weight: normal;
 +
}
 +
.demo-footer {
 +
  padding: 60px 0;
 +
  text-align: center;
 +
}
 +
.demo-footer a {
 +
  color: #999;
 +
  display: inline-block;
 +
  font-family: Cardo;
 
}
 
}
  
</style>
+
    </style>
  <div class="timeline-container" id="timeline-1">
+
</head>
      <div class="timeline-header">
+
<body>
          <h2 class="timeline-header-title"> TIMELINE DESIGN </h2>
+
    <div class="timeline-container" id="timeline-1">
          <h3 class="timeline-header-subtitle"> NEW AND CREATIVE </h3>
+
  <div class="timeline-header">
        </div>
+
    <h2 class="timeline-header__title">TIMELINE DESIGN</h2>
+
    <h3 class="timeline-header__subtitle">NEW AND CREATIVE</h3>
        <div class="timeline">
+
  </div>
              <div class="timeline-item" data-text="NEW TIMELINE DESIGN">
+
  <div class="timeline">
                  <div class="timeline-content">  
+
    <div class="timeline-item" data-text="NEW TIMELINE DESIGN">
                      <img src="https://2019.igem.org/wiki/images/a/a9/T--UCSC--second-bd2k.jpg" >    
+
      <div class="timeline__content"><img class="timeline__img" src="u.jpg" />
                         
+
        <h2 class="timeline__content-title">1881</h2>
                            <h2 class="timeline-content-title"> June </h2>
+
        <p class="timeline__content-desc">He was born in 1881 (probably in the spring) in Salonica, then an Ottoman city, now inGreece. His father Ali Riza, a customs official turned lumber merchant, died when Mustafawas still a boy. His mother Zubeyde, adevout and strong-willed woman, raised him and his sister.</p>
                                <p class="timeline-content-desc">  
+
      </div>
                                          blah blah blah blah blah blah blah blah
+
    </div>
                                </p>
+
    <div class="timeline-item" data-text="NEW TIMELINE DESIGN">
 
+
      <div class="timeline__content"><img class="timeline__img" src="r.jpg"/>
 
+
        <h2 class="timeline__content-title">1893</h2>
                    </div>
+
        <p class="timeline__content-desc">First enrolled in a traditionalreligious school, he soon switched to a modern school. In 1893, he entered a military highschool where his mathematics teacher gave him the second name Kemal (meaning perfection)in recognition of young Mustafa's superior achievement.</p>
                </div>
+
      </div>
 
+
    </div>
 
+
    <div class="timeline-item" data-text="NEW TIMELINE DESIGN">
          <div class="timeline-item" data-text="NEW TIMELINE DESIGN">
+
      <div class="timeline__content"><img class="timeline__img" src="y.jpg"/>
                  <div class="timeline-content">  
+
        <h2 class="timeline__content-title">1905</h2>
                      <img src="https://2019.igem.org/wiki/images/4/4d/T--UCSC--PBFront.png" >    
+
        <p class="timeline__content-desc">In 1905, Mustafa Kemal graduated from the War Academy in Istanbul with the rank of Staff Captain. Posted in Damascus, he started with several colleagues, a clandestinesociety called "Homeland and Freedom" to fight against the Sultan'sdespotism.</p>
                         
+
      </div>
                            <h2 class="timeline-content-title"> July </h2>
+
    </div>
                                <p class="timeline-content-desc">  
+
    <div class="timeline-item" data-text="NEW TIMELINE DESIGN">
                                          blah blah blah blah blah blah blah blah
+
      <div class="timeline__content"><img class="timeline__img" src="adventure-backpack-beach-214575.jpg"/>
                                </p>
+
        <h2 class="timeline__content-title">1908</h2>
 
+
        <p class="timeline__content-desc">In 1908 he helped the group of officers who toppled the Sultan. Mustafa Kemal'scareer flourished as he won his heroism in the far corners of the Ottoman Empire,including Albania and Tripoli. He also briefly served as a staff officer in Salonica andIstanbul and as a military attache in Sofia.</p>
 
+
      </div>
                    </div>
+
    </div>
                </div>
+
    <div class="timeline-item" data-text="NEW TIMELINE DESIGN">
 
+
      <div class="timeline__content"><img class="timeline__img" src="azadeh-oveisi-1439715-unsplash.jpg"/>
 
+
        <h2 class="timeline__content-title">1915</h2>
              <div class="timeline-item" data-text="NEW TIMELINE DESIGN">
+
        <p class="timeline__content-desc">In 1915, when Dardanelles campaign was launched, Colonel Mustafa Kemal became anational hero by winning successive victories and finally repelling the invaders.</p>
                  <div class="timeline-content">  
+
      </div>
                      <img src="https://2019.igem.org/wiki/images/2/20/T--UCSC--PBLiana.JPG" >    
+
    </div>
                         
+
    <div class="timeline-item" data-text="NEW TIMELINE DESIGN">
                            <h2 class="timeline-content-title"> July </h2>
+
      <div class="timeline__content"><img class="timeline__img" src="ui.jpg"/>
                                <p class="timeline-content-desc">  
+
        <h2 class="timeline__content-title">1916</h2>
                                          blah blah blah blah blah blah blah blah
+
        <p class="timeline__content-desc">Promotedto general in 1916, at age 35, he liberated two major provinces in eastern Turkey thatyear. In the next two years, he served as commander of several Ottoman armies inPalestine, Aleppo, and elsewhere, achieving another major victory by stopping the enemyadvance at Aleppo.</p>
                                </p>
+
      </div>
 
+
    </div>
 
+
    <div class="timeline-item" data-text="NEW TIMELINE DESIGN">
                    </div>
+
      <div class="timeline__content"><img class="timeline__img" src="uy.jpg"/>
                </div>
+
        <h2 class="timeline__content-title">1919</h2>
 
+
        <p class="timeline__content-desc">On May 19, 1919, Mustafa Kemal Pasha landed in the Black Sea port of Samsun to startthe War of Independence. In defiance of the Sultan's government, he rallied a liberationarmy in Anatolia and convened the Congress of Erzurum and Sivas which established thebasis for the new national effort under his leadership.</p>
 
+
      </div>
 
+
    </div>
 
+
    <div class="timeline-item" data-text="NEW TIMELINE DESIGN">
 
+
      <div class="timeline__content"><img class="timeline__img" src="ju.jpg"/>
 
+
        <h2 class="timeline__content-title">1920</h2>
            </div>
+
        <p class="timeline__content-desc">
 +
          On April 23, 1920, the GrandNational Assembly was inaugurated. Mustafa Kemal Pasha was elected to its Presidency.
 +
          Fighting on many fronts, he led his forces to victory against rebels and invadingarmies. Following the Turkish triumph at the two major battles at Inonu in Western Turkey,the Grand National Assembly conferred on Mustafa Kemal Pasha the title ofCommander-in-Chief with the rank of Marshal.
 +
        </p>
 +
      </div>
 +
    </div>
 +
    <div class="timeline-item" data-text="NEW TIMELINE DESIGN">
 +
      <div class="timeline__content"><img class="timeline__img" src="kk.jpg"/>
 +
        <h2 class="timeline__content-title">1922</h2>
 +
        <p class="timeline__content-desc">At the end of August 1922, the Turkish armieswon their ultimate victory. Within a few weeks, the Turkish mainland was completelyliberated, the armistice signed, and the rule of the Ottoman dynasty abolished</p>
 +
      </div>
 
     </div>
 
     </div>
     
 
  
 +
  </div>
 +
</div>
 +
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
 +
<script>
  
<script>
 
 
     (function($) {
 
     (function($) {
 
   $.fn.timeline = function() {
 
   $.fn.timeline = function() {
Line 206: Line 305:
  
 
$("#timeline-1").timeline();
 
$("#timeline-1").timeline();
</script>
 
  
 +
    </script>
 +
</body>
 
</html>
 
</html>

Revision as of 05:22, 14 October 2019

<!DOCTYPE html> Document

TIMELINE DESIGN

NEW AND CREATIVE

1881

He was born in 1881 (probably in the spring) in Salonica, then an Ottoman city, now inGreece. His father Ali Riza, a customs official turned lumber merchant, died when Mustafawas still a boy. His mother Zubeyde, adevout and strong-willed woman, raised him and his sister.

1893

First enrolled in a traditionalreligious school, he soon switched to a modern school. In 1893, he entered a military highschool where his mathematics teacher gave him the second name Kemal (meaning perfection)in recognition of young Mustafa's superior achievement.

1905

In 1905, Mustafa Kemal graduated from the War Academy in Istanbul with the rank of Staff Captain. Posted in Damascus, he started with several colleagues, a clandestinesociety called "Homeland and Freedom" to fight against the Sultan'sdespotism.

1908

In 1908 he helped the group of officers who toppled the Sultan. Mustafa Kemal'scareer flourished as he won his heroism in the far corners of the Ottoman Empire,including Albania and Tripoli. He also briefly served as a staff officer in Salonica andIstanbul and as a military attache in Sofia.

1915

In 1915, when Dardanelles campaign was launched, Colonel Mustafa Kemal became anational hero by winning successive victories and finally repelling the invaders.

1916

Promotedto general in 1916, at age 35, he liberated two major provinces in eastern Turkey thatyear. In the next two years, he served as commander of several Ottoman armies inPalestine, Aleppo, and elsewhere, achieving another major victory by stopping the enemyadvance at Aleppo.

1919

On May 19, 1919, Mustafa Kemal Pasha landed in the Black Sea port of Samsun to startthe War of Independence. In defiance of the Sultan's government, he rallied a liberationarmy in Anatolia and convened the Congress of Erzurum and Sivas which established thebasis for the new national effort under his leadership.

1920

On April 23, 1920, the GrandNational Assembly was inaugurated. Mustafa Kemal Pasha was elected to its Presidency. Fighting on many fronts, he led his forces to victory against rebels and invadingarmies. Following the Turkish triumph at the two major battles at Inonu in Western Turkey,the Grand National Assembly conferred on Mustafa Kemal Pasha the title ofCommander-in-Chief with the rank of Marshal.

1922

At the end of August 1922, the Turkish armieswon their ultimate victory. Within a few weeks, the Turkish mainland was completelyliberated, the armistice signed, and the rule of the Ottoman dynasty abolished